config: 配置源

This commit is contained in:
2026-09-04 21:37:19 +08:00
parent 83bd9f93a5
commit 59ac17e609
2 changed files with 3 additions and 7 deletions
+2 -1
View File
@@ -83,7 +83,8 @@ ai_configs = {
}, },
'bailian-embedding': { 'bailian-embedding': {
'model': 'text-embedding-v4', 'model': 'text-embedding-v4',
'url': 'https://llm-z0ugjqj2yf8a7i89.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/embeddings', # 'url': 'https://llm-z0ugjqj2yf8a7i89.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/embeddings',
"url": "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings",
'key': env.llm_key_bailian, 'key': env.llm_key_bailian,
}, },
} }
+1 -6
View File
@@ -40,15 +40,10 @@ psycopg = {extras = ["binary"], version = "^3.3.3"}
langchain-cli = ">=0.0.15" langchain-cli = ">=0.0.15"
# 配置国内镜像源 # 配置国内镜像源
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary" # 最高优先级
[[tool.poetry.source]] [[tool.poetry.source]]
name = "aliyun" name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/" url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "supplemental" # 次级优先级 priority = "primary" # 最高优先级
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]