Open arnau01 opened 1 month ago
generateObject
uses forced tool calling under the hood for some providers, so this might not be possible.
Makes sense, my current workaround is a simple chain, first generateText
then streamObject
which allows for tool usage and also controlling the schema.
Feature Description
Generating structured data is very helpful, would be great if tool calling was supported.
Use Case
Providing a output schema and having access to external tools
Additional context
No response