Skip to content

Commit 425c5b1

Browse files
committed
refactor: 统一 together.ai 为 together 并注释相关配置
将 together.ai 的引用统一改为 together,同时注释掉相关的模型配置
1 parent 0613477 commit 425c5b1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/config/static/models.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ class RerankerInfo(BaseModel):
8383
"zai-org/GLM-4.6",
8484
],
8585
),
86-
"together.ai": ChatModelProvider(
87-
name="Together.ai",
88-
url="https://api.together.ai/models",
89-
base_url="https://api.together.xyz/v1/",
90-
default="meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
91-
env="TOGETHER_API_KEY",
92-
models=["meta-llama/Llama-3.3-70B-Instruct-Turbo-Free"],
93-
),
86+
# "together": ChatModelProvider(
87+
# name="Together",
88+
# url="https://api.together.ai/models",
89+
# base_url="https://api.together.xyz/v1/",
90+
# default="meta-llama/Llama-3.3-70B-Instruct-Turbo-Free",
91+
# env="TOGETHER_API_KEY",
92+
# models=["meta-llama/Llama-3.3-70B-Instruct-Turbo-Free"],
93+
# ),
9494
"dashscope": ChatModelProvider(
9595
name="阿里百炼 (DashScope)",
9696
url="https://bailian.console.aliyun.com/?switchAgent=10226727&productCode=p_efm#/model-market",

web/src/utils/modelIcon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const modelIcons = {
1717
zhipu: zhipuIcon,
1818
siliconflow: siliconflowIcon,
1919
ark: arkIcon,
20-
'together.ai': togetherIcon,
20+
together: togetherIcon,
2121
openrouter: openrouterIcon,
2222
modelscope: modelscopeIcon,
2323
default: defaultIcon // 添加默认图标

0 commit comments

Comments
 (0)