Skip to content

Conversation

@jhchen
Copy link

@jhchen jhchen commented Aug 9, 2025

Problem

The output schema should only apply to normal responses and not errors.

Solution

Validation is skipped when the Response struct isError is true.

Rationale

It's modeled after the existing other case of skipping output schema validation (where there isn't a schema).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant