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
{{ message }}
Repository navigation
Whats the best way to handle structured output with output_schema with tools using multiple agents #326
Wondering the same thing. Docs say they're not compatible, but doesn't suggest an alternative approach for passing structured data around when tools are present.
google models at least support soft schemas for structured data. you can combine this with an after model callback to parse the response. it is hacky but should work most of the time.
Activity
sqrrrl commentedon Apr 29, 2025
Wondering the same thing. Docs say they're not compatible, but doesn't suggest an alternative approach for passing structured data around when tools are present.
yrangana commentedon May 14, 2025
related to #84 and #701
BenMawnMahlauNBTC commentedon May 14, 2025
google models at least support soft schemas for structured data. you can combine this with an after model callback to parse the response. it is hacky but should work most of the time.