sync of changes
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user