diff --git a/extensions/vscode/src/continueIdeClient.ts b/extensions/vscode/src/continueIdeClient.ts index 7fcf060da5..3eaf674667 100644 --- a/extensions/vscode/src/continueIdeClient.ts +++ b/extensions/vscode/src/continueIdeClient.ts @@ -770,7 +770,7 @@ class IdeProtocolClient { async getBranch(): Promise { const repo = await this.getRepo(); - return repo.state.HEAD?.name || "NONE"; + return repo?.state?.HEAD?.name || "NONE"; } async getDiff(): Promise { diff --git a/server/continuedev/libs/constants/default_config.py b/server/continuedev/libs/constants/default_config.py index 97d534ce2d..f127ab9258 100644 --- a/server/continuedev/libs/constants/default_config.py +++ b/server/continuedev/libs/constants/default_config.py @@ -29,8 +29,7 @@ def modify_config(config: ContinueConfig) -> ContinueConfig: } ], "model_roles": { - "default": "GPT-4", - "summarize": "GPT-3.5-Turbo" + "default": "GPT-4" }, "slash_commands": [ { diff --git a/server/continuedev/libs/llm/ggml.py b/server/continuedev/libs/llm/ggml.py index bc8cbddc3e..7365c5a022 100644 --- a/server/continuedev/libs/llm/ggml.py +++ b/server/continuedev/libs/llm/ggml.py @@ -108,7 +108,7 @@ async def _raw_stream_complete(self, prompt, options): ) as resp: if resp.status != 200: raise Exception( - f"Error calling /chat/completions endpoint: {resp.status}" + f"Error calling /completions endpoint: {resp.status}" ) async for line in resp.content.iter_any():