diff --git a/agents-api/agents_api/autogen/openapi_model.py b/agents-api/agents_api/autogen/openapi_model.py index b6e4b774f..48811eb20 100644 --- a/agents-api/agents_api/autogen/openapi_model.py +++ b/agents-api/agents_api/autogen/openapi_model.py @@ -231,7 +231,9 @@ def validate_prompt(cls, v): if "content" in item: is_valid, error = validate_jinja_template(item["content"]) if not is_valid: - raise ValueError(f"Invalid Jinja template in prompt content: {error}") + raise ValueError( + f"Invalid Jinja template in prompt content: {error}" + ) return v