Merge pull request #1907 from xiwuqi/wuxi/fix-reasoning-channel-content

fix(agent): route reasoning_content to reasoning channel
This commit is contained in:
daming大铭
2026-03-24 01:24:14 +08:00
committed by GitHub
2 changed files with 84 additions and 1 deletions
+5 -1
View File
@@ -2092,9 +2092,13 @@ turnLoop:
}
}
reasoningContent := response.Reasoning
if reasoningContent == "" {
reasoningContent = response.ReasoningContent
}
go al.handleReasoning(
turnCtx,
response.Reasoning,
reasoningContent,
ts.channel,
al.targetReasoningChannelID(ts.channel),
)