fix: ensure tool name is correctly included in assistant message
This commit is contained in:
parent
80d44c86c3
commit
8c29a8bd0d
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ func RunToolLoop(ctx context.Context, config ToolLoopConfig, messages []provider
|
|||
Name: tc.Name,
|
||||
Arguments: string(argumentsJSON),
|
||||
},
|
||||
Name: tc.Name,
|
||||
})
|
||||
}
|
||||
messages = append(messages, assistantMsg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue