update pay ui
This commit is contained in:
@@ -2276,7 +2276,7 @@ class MCPAgentIntegrated:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
response = self.kimi_client.chat.completions.create(
|
response = self.kimi_client.chat.completions.create(
|
||||||
model="kimi-k2-turbo-preview", # 使用非思考模型,更快
|
model=self.kimi_model, # 使用配置的模型(deepseek-chat)
|
||||||
messages=messages,
|
messages=messages,
|
||||||
temperature=0.7,
|
temperature=0.7,
|
||||||
max_tokens=8192,
|
max_tokens=8192,
|
||||||
@@ -2334,7 +2334,7 @@ class MCPAgentIntegrated:
|
|||||||
"total_execution_time": sum(r.execution_time for r in step_results),
|
"total_execution_time": sum(r.execution_time for r in step_results),
|
||||||
"model_used": {
|
"model_used": {
|
||||||
"planning": self.kimi_model,
|
"planning": self.kimi_model,
|
||||||
"summarization": "kimi-k2-turbo-preview",
|
"summarization": self.kimi_model,
|
||||||
"news_summary": self.deepmoney_model,
|
"news_summary": self.deepmoney_model,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2700,7 +2700,7 @@ class MCPAgentIntegrated:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
summary_stream = self.kimi_client.chat.completions.create(
|
summary_stream = self.kimi_client.chat.completions.create(
|
||||||
model="kimi-k2-turbo-preview",
|
model=self.kimi_model, # 使用配置的模型(deepseek-chat)
|
||||||
messages=messages,
|
messages=messages,
|
||||||
temperature=0.7,
|
temperature=0.7,
|
||||||
max_tokens=8192,
|
max_tokens=8192,
|
||||||
|
|||||||
Reference in New Issue
Block a user