From e42d1112ae5fcaf3c151a1fd56daaed3014877b0 Mon Sep 17 00:00:00 2001 From: Keegan Witt Date: Fri, 2 Jan 2026 13:20:06 -0500 Subject: [PATCH 1/2] feat: Add ability to use Codestral from huggingface, litellm, lmstudio, and ollama --- src/services/ghost/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/ghost/types.ts b/src/services/ghost/types.ts index 55be917678..3008572f5f 100644 --- a/src/services/ghost/types.ts +++ b/src/services/ghost/types.ts @@ -17,6 +17,10 @@ export const AUTOCOMPLETE_PROVIDER_MODELS = new Map([ ["openrouter", "mistralai/codestral-2508"], ["requesty", "mistral/codestral-latest"], ["bedrock", "mistral.codestral-2508-v1:0"], + ["huggingface", "mistralai/Codestral-22B-v0.1"], + ["litellm", "codestral/codestral-latest"], + ["lmstudio", "mistralai/codestral-22b-v0.1"], + ["ollama", "codestral:latest"], ] as const) export type AutocompleteProviderKey = typeof AUTOCOMPLETE_PROVIDER_MODELS extends Map ? K : never From d936b50f6c28592a910c83c52433eb59aa019cf5 Mon Sep 17 00:00:00 2001 From: Christiaan Arnoldus Date: Sat, 3 Jan 2026 17:09:04 +0100 Subject: [PATCH 2/2] Changeset --- .changeset/spotty-cobras-knock.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/spotty-cobras-knock.md diff --git a/.changeset/spotty-cobras-knock.md b/.changeset/spotty-cobras-knock.md new file mode 100644 index 0000000000..f1beb2b8e9 --- /dev/null +++ b/.changeset/spotty-cobras-knock.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Added ability to use Codestral for autocomplete from HuggingFace, LiteLLM, LM Studio and Ollama