Private
Public Access
1
0

Renamed RequestParameters.ToolBag to Toolbox

This commit is contained in:
2024-06-23 19:10:03 +00:00
parent 8ddac2f820
commit 914d9ac0c1
6 changed files with 9 additions and 9 deletions

View File

@@ -177,8 +177,8 @@ func createChatCompletionRequest(
N: 1, // limit responses to 1 "choice". we use choices[0] to reference it
}
if len(params.ToolBag) > 0 {
request.Tools = convertTools(params.ToolBag)
if len(params.Toolbox) > 0 {
request.Tools = convertTools(params.Toolbox)
request.ToolChoice = "auto"
}