deps(tongyi): fix tongyi dependencies and add tongyi proxy config (#2467)

# Description

deps(tongyi): fix tongyi dependencies and add tongyi proxy config

# How Has This Been Tested?

```bash
uv sync --all-packages --frozen --extra "base" --extra "proxy_tongyi" --extra "rag" --extra "storage_chromadb" --extra "dbgpts"
```

```bash
uv run python packages/dbgpt-app/src/dbgpt_app/dbgpt_server.py --config .\configs\dbgpt-proxy-tongyi.toml
```
This commit is contained in:
Aries-ckt
2025-03-17 15:17:12 +08:00
committed by GitHub
4 changed files with 40 additions and 6 deletions

View File

@@ -121,7 +121,12 @@ llama_cpp_server = [
]
proxy_ollama = ["ollama"]
proxy_zhipuai = ["zhipuai>=2.1.5"]
proxy_tongyi = ["openai"] # tongyi supported by openai package
proxy_tongyi = [
# tongyi supported by openai package
"openai",
# For tongyi proxy embedding model
"dashscope",
]
proxy_qianfan = ["qianfan"]
proxy_openai = [
"openai>=1.59.6",

View File

@@ -74,10 +74,6 @@ storage_chromadb = [
]
storage_elasticsearch = ["elasticsearch"]
storage_obvector = ["pyobvector"]
proxy_tongyi = [
# For tongyi proxy embedding model
"dashscope"
]
[tool.uv]
managed = true