Requests to vertex ai fail if z.record(z.string())
used in tool schema
#5628
Labels
bug
Something isn't working
z.record(z.string())
used in tool schema
#5628
Description
See the code example below. When using vertex ai if
z.record(z.string())
is used an error occurs because in the generated open api schemasomething
becomesundefined
Code example
AI provider
@ai-sdk/google-vertex 2.2.14
Additional context
I opened a PR to fix this here: #5626
The text was updated successfully, but these errors were encountered: