Patch Changes
-
#149
0137a4e
Thanks @VenomHare! - Added JSON schema support for REST APIgenerateObject
andstreamObject
functions. The system now accepts JSON schemas which are internally converted to Zod schemas for validation. This enables REST API usage where Zod schemas cannot be directly passed. #87Additional Changes:
- Included the JSON schema from
options.schema
in the system message for thegenerateObject
andstreamObject
functions in bothanthropic-ai
andgroq-ai
providers. - Enhanced schema handling to convert JSON schemas to Zod internally for seamless REST API compatibility.
- Included the JSON schema from
-
Updated dependencies [
0137a4e
,4308b85
]:- @voltagent/core@0.1.22