mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-01 01:04:43 +00:00
fix:add tongyi api key config
This commit is contained in:
@@ -24,10 +24,10 @@ persist_path = "pilot/data"
|
|||||||
name = "qwen-plus"
|
name = "qwen-plus"
|
||||||
provider = "${env:LLM_MODEL_PROVIDER:proxy/tongyi}"
|
provider = "${env:LLM_MODEL_PROVIDER:proxy/tongyi}"
|
||||||
api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
||||||
api_key = "sk-"
|
api_key = "${env:DASHSCOPE_API_KEY}"
|
||||||
|
|
||||||
[[models.embeddings]]
|
[[models.embeddings]]
|
||||||
name = "text-embedding-v3"
|
name = "text-embedding-v3"
|
||||||
provider = "${env:EMBEDDING_MODEL_PROVIDER:proxy/tongyi}"
|
provider = "${env:EMBEDDING_MODEL_PROVIDER:proxy/tongyi}"
|
||||||
api_url = "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings"
|
api_url = "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings"
|
||||||
api_key = "sk-"
|
api_key = "${env:DASHSCOPE_API_KEY}"
|
||||||
|
Reference in New Issue
Block a user