github-actions[bot] commited on
Commit
a67d6d0
·
1 Parent(s): e578c35

deploy: 4a47d0c — 更新 config.yaml

Browse files
Files changed (1) hide show
  1. litellm/config.yaml +8 -4
litellm/config.yaml CHANGED
@@ -1,7 +1,11 @@
1
  # LiteLLM Gateway Configuration
2
- # database_url is injected by huggingface/entrypoint.sh at runtime
3
- # when DATABASE_URL environment variable is set.
4
- # For docker-compose, DATABASE_URL is passed via environment block in compose file.
 
 
 
 
5
 
6
  general_settings:
7
  master_key: os.environ/LITELLM_MASTER_KEY
@@ -32,4 +36,4 @@ model_list:
32
  api_base: "https://your-custom-endpoint.example.com/v1"
33
  api_key: "optional-key-or-empty"
34
  model_info:
35
- description: "Custom OpenAI-compatible endpoint example"
 
1
  # LiteLLM Gateway Configuration
2
+ #
3
+ # database_url(可选):
4
+ # - HF Spaces 部署:由 huggingface/entrypoint.sh 在运行时注入。
5
+ # - Docker Compose 部署:在 docker-compose.yml 的 litellm service
6
+ # environment 块中通过 DATABASE_URL 环境变量传入(已在 compose 文件中配置)。
7
+ # - 不设置时:LiteLLM 以无数据库模式运行,模型由 backend(SQLite)管理
8
+ # 并在每次启动时通过 /model/new API 重新注册,功能正常。
9
 
10
  general_settings:
11
  master_key: os.environ/LITELLM_MASTER_KEY
 
36
  api_base: "https://your-custom-endpoint.example.com/v1"
37
  api_key: "optional-key-or-empty"
38
  model_info:
39
+ description: "Custom OpenAI-compatible endpoint example"