之前无条件给所有 qwen 请求注入 json_object(给结构化输出框架用),把助手的 tool-calling(streamText+tools)也污染了 → DashScope 报 400(json mode 与工具调用互斥, 且硬性要求 messages 含 "json")。改为:仅当请求无 tools 且未自带 response_format 时才注入。 结构化框架(generateObject,json mode 无 tools)不受影响;助手 agent loop 带 tools 跳过。 验证:助手 model=qwen 问召回池 → 自主 list_recall_queue → 正常列出 TOP 患者,无报错。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| cli | Loading commit data... | |
| common | Loading commit data... | |
| config | Loading commit data... | |
| modules | Loading commit data... | |
| openapi | Loading commit data... | |
| prisma | Loading commit data... | |
| queues | Loading commit data... | |
| redis | Loading commit data... | |
| types | Loading commit data... | |
| app.module.ts | Loading commit data... | |
| health.controller.ts | Loading commit data... | |
| main.ts | Loading commit data... |