32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Default provider. Only providers with an API key are exposed to the UI.
|
|
CDSL_DEFAULT_PROVIDER=deepseek
|
|
CDSL_DEFAULT_MODEL=deepseek-chat
|
|
|
|
# DeepSeek. Fill in your own API key below.
|
|
CDSL_LLM_BASE_URL=https://api.deepseek.com/v1
|
|
CDSL_LLM_API_KEY=sk-d3f8fe84bf9a4100a6563559e5d2fefd
|
|
CDSL_LLM_MODEL=deepseek-chat
|
|
CDSL_LLM_TIMEOUT_S=90
|
|
|
|
# Optional OpenAI provider. Comma-separate enabled models; list vision models
|
|
# separately so image attachments can be routed safely.
|
|
CDSL_OPENAI_BASE_URL=https://api.openai.com/v1
|
|
CDSL_OPENAI_API_KEY=
|
|
CDSL_OPENAI_MODELS=gpt-4.1,gpt-4.1-mini
|
|
CDSL_OPENAI_VISION_MODELS=gpt-4.1,gpt-4.1-mini
|
|
|
|
# Optional Kimi provider.
|
|
CDSL_KIMI_BASE_URL=https://api.moonshot.cn/v1
|
|
CDSL_KIMI_API_KEY=
|
|
CDSL_KIMI_MODELS=moonshot-v1-8k
|
|
CDSL_KIMI_VISION_MODELS=
|
|
# Enable only after verifying that the selected endpoint supports strict
|
|
# OpenAI-compatible function schemas. This affects generate_cdsl_model's JSON
|
|
# arguments only, never ordinary assistant chat text.
|
|
CDSL_DEEPSEEK_STRICT_TOOL_SCHEMA=false
|
|
CDSL_OPENAI_STRICT_TOOL_SCHEMA=true
|
|
CDSL_KIMI_STRICT_TOOL_SCHEMA=true
|
|
# To enable individual models instead of every model from a provider, keep the
|
|
# provider-wide switch false and list exact IDs, for example:
|
|
# CDSL_OPENAI_STRICT_TOOL_MODELS=gpt-4.1
|