fix: ensure tool name is correctly assigned in LLM iteration
This commit is contained in:
parent
e8afd31b28
commit
80d44c86c3
1 changed files with 1 additions and 0 deletions
|
|
@ -602,6 +602,7 @@ func (al *AgentLoop) runLLMIteration(ctx context.Context, agent *AgentInstance,
|
|||
Name: tc.Name,
|
||||
Arguments: string(argumentsJSON),
|
||||
},
|
||||
Name: tc.Name,
|
||||
})
|
||||
}
|
||||
messages = append(messages, assistantMsg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue