feat: add CommandCode provider support

This commit is contained in:
decolua
2026-05-07 23:01:33 +07:00
parent ca84e988c0
commit b72a443bd3
12 changed files with 395 additions and 2 deletions

View File

@@ -251,6 +251,14 @@ export const PROVIDERS = {
baseUrl: "https://api.deepseek.com/chat/completions",
format: "openai"
},
commandcode: {
baseUrl: "https://api.commandcode.ai/alpha/generate",
format: "commandcode",
headers: {
"x-command-code-version": "0.25.7",
"x-cli-environment": "cli"
}
},
groq: {
baseUrl: "https://api.groq.com/openai/v1/chat/completions",
format: "openai"