diff --git a/prompterator/models/openai_models.py b/prompterator/models/openai_models.py index 1a72656..ac25f67 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": function["parameters"], }, } ]