fix(agent): avoid reasoning publish race on turn cancel
This commit is contained in:
parent
d4a19cf53e
commit
902cade8d0
1 changed files with 1 additions and 1 deletions
|
|
@ -2102,7 +2102,7 @@ turnLoop:
|
||||||
reasoningContent = response.ReasoningContent
|
reasoningContent = response.ReasoningContent
|
||||||
}
|
}
|
||||||
go al.handleReasoning(
|
go al.handleReasoning(
|
||||||
turnCtx,
|
context.WithoutCancel(turnCtx),
|
||||||
reasoningContent,
|
reasoningContent,
|
||||||
ts.channel,
|
ts.channel,
|
||||||
al.targetReasoningChannelID(ts.channel),
|
al.targetReasoningChannelID(ts.channel),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue