agent功能开发增加MCP后端
This commit is contained in:
@@ -1300,7 +1300,7 @@ class MCPAgentIntegrated:
|
||||
|
||||
try:
|
||||
response = self.kimi_client.chat.completions.create(
|
||||
model="kimi-k2-turbopreview", # 使用非思考模型,更快
|
||||
model="kimi-k2-turbo-preview", # 使用非思考模型,更快
|
||||
messages=messages,
|
||||
temperature=0.7,
|
||||
max_tokens=1000,
|
||||
@@ -1355,7 +1355,7 @@ class MCPAgentIntegrated:
|
||||
"total_execution_time": sum(r.execution_time for r in step_results),
|
||||
"model_used": {
|
||||
"planning": self.kimi_model,
|
||||
"summarization": "kimi-k2-turbopreview",
|
||||
"summarization": "kimi-k2-turbo-preview",
|
||||
"news_summary": self.deepmoney_model,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user