You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(@ai-sdk/provider-utils): Use safeParseAsync for zod schemas (#7389)
## Background
To support `async` `refine` calls
## Summary
Changed calls of `safeParse` to `safeParseAsync`. Calls to `validate`
were already `await`ed.
## Verification
`pnpm link`ed into another project where I added a tool with an `async`
`refine` in its `inputSchema`. Without this change, it throws an error.
## Related Issues
Fixes#6868
0 commit comments