🐛 small bug fixes
This commit is contained in:
parent
401e79e333
commit
c1695df2d6
5 changed files with 42 additions and 41 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -719,7 +719,7 @@ class IdeProtocolClient {
|
|||
}
|
||||
|
||||
async debugTerminal() {
|
||||
const contents = await this.getTerminalContents();
|
||||
const contents = (await this.getTerminalContents()).trim();
|
||||
this.send("debugTerminal", v4(), { contents });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ class GUIProtocolServer:
|
|||
"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(),
|
||||
|
|
|
|||
|
|
@ -65,11 +65,12 @@ class Window:
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue