mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-30 23:56:25 +00:00
fix:add tongyi api key config
This commit is contained in:
parent
6b8e4b539c
commit
2ea3521114
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user