Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/agents/agent_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, output_type: type[Any], strict_json_schema: bool = True):
raise UserError(
"Strict JSON schema is enabled, but the output type is not valid. "
"Either make the output type strict, "
"or wrap your type with AgentOutputSchema(your_type, strict_json_schema=False)"
"or wrap your type with AgentOutputSchema(YourType, strict_json_schema=False)"
) from e

def is_plain_text(self) -> bool:
Expand Down