update: 升级模型版本 - 智谱 glm-4.7-flash -> glm-5.1, DeepSeek deepseek-reasoner -> deepseek-v4-pro
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m43s
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m43s
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
本模块提供统一的生成式大模型服务获取接口,支持多种模型:
|
||||
1. Local VLLM 服务:本地 gemma-4-E4B-it 模型
|
||||
2. Zhipu AI:智谱 glm-4.7-flash 模型
|
||||
3. DeepSeek:deepseek-reasoner 模型
|
||||
2. Zhipu AI:智谱 glm-5.1 模型
|
||||
3. DeepSeek:deepseek-v4-pro 模型
|
||||
|
||||
主要功能:
|
||||
- LocalVLLMChatProvider:本地 VLLM 服务提供者
|
||||
@@ -121,7 +121,7 @@ class ZhipuChatProvider(BaseServiceProvider[BaseChatModel]):
|
||||
智谱 AI 生成式大模型服务提供者
|
||||
"""
|
||||
|
||||
def __init__(self, model: str = "glm-4.7-flash"):
|
||||
def __init__(self, model: str = "glm-5.1"):
|
||||
super().__init__("zhipu_chat")
|
||||
self._model = model
|
||||
|
||||
@@ -170,7 +170,7 @@ class DeepSeekChatProvider(BaseServiceProvider[BaseChatModel]):
|
||||
DeepSeek 生成式大模型服务提供者
|
||||
"""
|
||||
|
||||
def __init__(self, model: str = "deepseek-reasoner"):
|
||||
def __init__(self, model: str = "deepseek-v4-pro"):
|
||||
super().__init__("deepseek_chat")
|
||||
self._model = model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user