sync of changes

This commit is contained in:
2024-11-09 19:50:14 -05:00
parent 37939088ed
commit cd4ad59a38
4 changed files with 3 additions and 4 deletions

View File

@@ -87,7 +87,7 @@ func (a anthropic) requestToAnthropicRequest(req Request) anth.MessagesRequest {
}
}
for _, tool := range req.Toolbox {
for _, tool := range req.Toolbox.funcs {
res.Tools = append(res.Tools, anth.ToolDefinition{
Name: tool.Name,
Description: tool.Description,