-
Notifications
You must be signed in to change notification settings - Fork 17k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core[patch]: update structured output tracing #30123
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
def convert_to_json_schema( | ||
schema: Union[dict[str, Any], type[BaseModel], Callable, BaseTool], | ||
*, | ||
strict: Optional[bool] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will strict get lost here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in which case should we start storing strict as a kwarg (in ls_structured_output_format)? and making sure non-openai models just ignore strict if it's passed in
options
ls_structured_output_format