Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Oct 2, 2024
1 parent 6fa8605 commit 9952ad5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agents-api/agents_api/autogen/openapi_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 9952ad5

Please sign in to comment.