From ea6cee49abe1b5202a91fadc3b2101b2fc59213c Mon Sep 17 00:00:00 2001 From: Fangyin Cheng Date: Thu, 21 Aug 2025 18:09:28 +0800 Subject: [PATCH] chore: Fix tongyi config example (#2884) --- configs/dbgpt-proxy-tongyi.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/dbgpt-proxy-tongyi.toml b/configs/dbgpt-proxy-tongyi.toml index 719e9cc42..37b84def5 100644 --- a/configs/dbgpt-proxy-tongyi.toml +++ b/configs/dbgpt-proxy-tongyi.toml @@ -22,12 +22,12 @@ persist_path = "pilot/data" [models] [[models.llms]] 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_key = "${env:DASHSCOPE_API_KEY}" [[models.embeddings]] 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_key = "${env:DASHSCOPE_API_KEY}"