remove: 移除快速路径逻辑,全部走 React 模式
All checks were successful
构建并部署 AI Agent 服务 / deploy (push) Successful in 5m36s

This commit is contained in:
2026-05-01 11:24:13 +08:00
parent 4fd2763be6
commit 57a917b2c6
2 changed files with 121 additions and 250 deletions

View File

@@ -143,7 +143,7 @@ def _handle_ai_response():
# 1. 处理 LLM Token 流 (打字机效果)
if event_type == "llm_token":
# 确保只处理来自 LLM 的 token避免将工具的输出作为 token 显示
if event.get("node") in ("llm_call", "fallback", "fast_path"):
if event.get("node") in ("llm_call", "fallback"):
token = str(event.get("token", ""))
reasoning_token = str(event.get("reasoning_token", ""))