Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spotty-cobras-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Added ability to use Codestral for autocomplete from HuggingFace, LiteLLM, LM Studio and Ollama
4 changes: 4 additions & 0 deletions src/services/ghost/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<infer K, any> ? K : never
Expand Down