fix: cl-dotenv quote contamination breaks provider cascade parsing
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
cl-dotenv preserves surrounding quotes in .env values (unlike bash). PROVIDER_CASCADE="deepseek,..." resulted in keywords like :"DEEPSEEK instead of :DEEPSEEK, causing all cascade lookups to fail silently. Fixes: - .env.example: remove quotes from PROVIDER_CASCADE - provider-cascade-initialize: add #" and #' to string-trim chars - system-model-router: same fix for LOCAL_BACKENDS parsing
This commit is contained in:
@@ -20,7 +20,7 @@ NVIDIA_API_KEY="your_nvidia_nim_key_here"
|
||||
|
||||
# Cascade order (first available provider wins)
|
||||
# Default (if unset): openrouter,openai,anthropic,groq,gemini-api,deepseek,nvidia
|
||||
PROVIDER_CASCADE="deepseek,openrouter,openai,anthropic,groq,gemini,nvidia"
|
||||
PROVIDER_CASCADE=deepseek,openrouter,openai,anthropic,groq,gemini,nvidia
|
||||
|
||||
# =============================================================================
|
||||
# LOCAL LLM (generic OpenAI-compatible endpoint)
|
||||
|
||||
Reference in New Issue
Block a user