diff --git a/prompterator/models/openai_models.py b/prompterator/models/openai_models.py index ac25f67..1a72656 100644 --- a/prompterator/models/openai_models.py +++ b/prompterator/models/openai_models.py @@ -108,7 +108,7 @@ def build_function_calling_tooling(json_schema, function_name): "function": { "name": function_name, "description": description, - "parameters": function["parameters"], + "parameters": function, }, } ]