Skip to content

Commit

Permalink
🐛 small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Nov 1, 2023
1 parent 401e79e commit c1695df
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 41 deletions.
34 changes: 17 additions & 17 deletions extensions/intellij/src/main/resources/webview/assets/index.js

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions extensions/vscode/gui/assets/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/vscode/src/continueIdeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ class IdeProtocolClient {
}

async debugTerminal() {
const contents = await this.getTerminalContents();
const contents = (await this.getTerminalContents()).trim();
this.send("debugTerminal", v4(), { contents });
}
}
Expand Down
2 changes: 1 addition & 1 deletion server/continuedev/server/protocols/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ async def run_from_state(self, state: SessionState, step: Optional[Step] = None)
"step run",
{
"step_name": step_to_log.name,
"params": step_to_log.params,
"params": step_to_log.params if step is None else step.dict(),
"context": list(
map(
lambda item: item.dict(),
Expand Down
11 changes: 6 additions & 5 deletions server/continuedev/server/window_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ def is_closed(self) -> bool:

async def reload_config(self):
self.config = self.load_config()
await self.config.models.start(
self.ide.window_info.unique_id,
self.config.system_message,
self.config.temperature,
)
if self.ide is not None:
await self.config.models.start(
self.ide.window_info.unique_id,
self.config.system_message,
self.config.temperature,
)

async def load(
self, config: Optional[ContinueConfig] = None, only_reloading: bool = False
Expand Down

0 comments on commit c1695df

Please sign in to comment.