mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-06-01 22:09:04 +02:00
Add Codestral Provider
This commit is contained in:
@@ -145,6 +145,18 @@ FIELDS: tuple[ConfigFieldSpec, ...] = (
|
||||
"Mistral La Plateforme (api.mistral.ai); Experiment plan is free tier with rate limits."
|
||||
),
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"CODESTRAL_API_KEY",
|
||||
"Codestral API Key",
|
||||
"providers",
|
||||
"secret",
|
||||
settings_attr="codestral_api_key",
|
||||
secret=True,
|
||||
description=(
|
||||
"Mistral Codestral endpoint (codestral.mistral.ai); distinct from Mistral "
|
||||
"La Plateforme ``MISTRAL_API_KEY``. See Mistral docs for coding/FIM domains."
|
||||
),
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"DEEPSEEK_API_KEY",
|
||||
"DeepSeek API Key",
|
||||
@@ -287,6 +299,15 @@ FIELDS: tuple[ConfigFieldSpec, ...] = (
|
||||
secret=True,
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"CODESTRAL_PROXY",
|
||||
"Codestral Proxy",
|
||||
"providers",
|
||||
"secret",
|
||||
settings_attr="codestral_proxy",
|
||||
secret=True,
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"LMSTUDIO_PROXY",
|
||||
"LM Studio Proxy",
|
||||
@@ -792,6 +813,12 @@ FIELDS: tuple[ConfigFieldSpec, ...] = (
|
||||
"smoke",
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"FCC_SMOKE_MODEL_MISTRAL_CODESTRAL",
|
||||
"Smoke Mistral Codestral Model",
|
||||
"smoke",
|
||||
advanced=True,
|
||||
),
|
||||
ConfigFieldSpec(
|
||||
"FCC_SMOKE_MODEL_DEEPSEEK",
|
||||
"Smoke DeepSeek Model",
|
||||
|
||||
@@ -61,6 +61,7 @@ function providerName(providerId) {
|
||||
const names = {
|
||||
nvidia_nim: "NVIDIA NIM",
|
||||
open_router: "OpenRouter",
|
||||
mistral_codestral: "Mistral Codestral",
|
||||
deepseek: "DeepSeek",
|
||||
lmstudio: "LM Studio",
|
||||
llamacpp: "llama.cpp",
|
||||
|
||||
Reference in New Issue
Block a user