fix:add tongyi api key config

This commit is contained in:
yyhhyyyyyy 2025-03-17 14:52:32 +08:00
parent 6b8e4b539c
commit 2ea3521114

View File

@ -24,10 +24,10 @@ persist_path = "pilot/data"
name = "qwen-plus"
provider = "${env:LLM_MODEL_PROVIDER:proxy/tongyi}"
api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1"
api_key = "sk-"
api_key = "${env:DASHSCOPE_API_KEY}"
[[models.embeddings]]
name = "text-embedding-v3"
provider = "${env:EMBEDDING_MODEL_PROVIDER:proxy/tongyi}"
api_url = "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings"
api_key = "sk-"
api_key = "${env:DASHSCOPE_API_KEY}"