-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: support zod v4 #1612
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
base: master
Are you sure you want to change the base?
chore: support zod v4 #1612
Conversation
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be right.
@Abdillah unfortunately there are some branch conflicts because of the newest version. Could you solve these conflicts before the official reviewer take a look? |
Please add zod4 support. It has native JSON Schema conversions which will make it easier to call tools with the openai package. It's currently not possible to install zod4 alongside openai, due to the zod version in openai's package.json. |
Okay @ArthurLobopro, will try to resolve it |
@alexgleason That's what this PR do. Once this merged, you can use openai js along with zod v4. But the openai still uses v3. |
Changes being requested
Allowing Zod v4 transition.
Additional context & links
Nope