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大铭 authored and GitHub committed 2026-03-24 01:24:14 +08:00
commit 2c48cd3461
2 files changed
+84 -1

No files matched your search

+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),
)