feat: 增加vtb_action,修复吞消息,ruff

This commit is contained in:
tcmofashi
2025-06-01 18:21:34 +08:00
parent 565d3ae43e
commit 0e2465075e
16 changed files with 326 additions and 202 deletions

View File

@@ -753,7 +753,7 @@ class LLMRequest:
response = await self._execute_request(endpoint="/chat/completions", payload=data, prompt=prompt)
# 原样返回响应,不做处理
if len(response) == 3:
content, reasoning_content, tool_calls = response
return content, (reasoning_content, self.model_name, tool_calls)