Skip to content

fix: i/o schema generation#504

Merged
cristipufu merged 1 commit into
mainfrom
fix/schema_generation
Feb 3, 2026
Merged

fix: i/o schema generation#504
cristipufu merged 1 commit into
mainfrom
fix/schema_generation

Conversation

@cristipufu
Copy link
Copy Markdown
Member

@cristipufu cristipufu commented Feb 3, 2026

Description

Avoids triggering schema property getter during schema extraction

Replace hasattr(graph, "output_schema") with hasattr(graph, "get_output_jsonschema") to prevent Pydantic validation errors when state uses incompatible type annotations like Annotated[NotRequired[...], ...].

This comment was marked as outdated.

@cristipufu cristipufu merged commit 42667b6 into main Feb 3, 2026
45 checks passed
@cristipufu cristipufu deleted the fix/schema_generation branch February 3, 2026 09:35
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.

3 participants