fix: use the correct field name for reasoning content
This commit is contained in:
parent
e74820cf69
commit
baa98ea7c4
1 changed files with 2 additions and 2 deletions
|
|
@ -1093,7 +1093,7 @@ func (al *AgentLoop) runLLMIteration(
|
|||
|
||||
go al.handleReasoning(
|
||||
ctx,
|
||||
response.Reasoning,
|
||||
response.ReasoningContent,
|
||||
opts.Channel,
|
||||
al.targetReasoningChannelID(opts.Channel),
|
||||
)
|
||||
|
|
@ -1104,7 +1104,7 @@ func (al *AgentLoop) runLLMIteration(
|
|||
"iteration": iteration,
|
||||
"content_chars": len(response.Content),
|
||||
"tool_calls": len(response.ToolCalls),
|
||||
"reasoning": response.Reasoning,
|
||||
"reasoning_content": response.ReasoningContent,
|
||||
"target_channel": al.targetReasoningChannelID(opts.Channel),
|
||||
"channel": opts.Channel,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue