Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unions in Pydantic classes not working #193

Open
bforbanks opened this issue Nov 21, 2024 · 0 comments
Open

Unions in Pydantic classes not working #193

bforbanks opened this issue Nov 21, 2024 · 0 comments

Comments

@bforbanks
Copy link

bforbanks commented Nov 21, 2024

I only get 1 type, but im expecting 2, since i have a union in my pydantic class.
Langchainss .with_structured_output is able to handle this, so i would also expect langgraph studio to give me the option to chose from my union.

image

As seen i expect 2 options but only get 1

image

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

No branches or pull requests

1 participant