Skip to content

Commit

Permalink
fix bug in constructing function calling params
Browse files Browse the repository at this point in the history
  • Loading branch information
samsucik committed Nov 5, 2024
1 parent 99a7eaf commit 995a909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompterator/models/openai_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def build_function_calling_tooling(json_schema, function_name):
"function": {
"name": function_name,
"description": description,
"parameters": function,
"parameters": function["parameters"],
},
}
]
Expand Down

0 comments on commit 995a909

Please sign in to comment.