Skip to content
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

fix(custom code): update decorator to ignore missing arguments #564

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fern-bot
Copy link
Collaborator

@fern-bot fern-bot commented Aug 20, 2024

Currently, there is a custom decorator that checks to see if deprecated fields are used within function calls
Specifically response_format is checked for schema (see here), this doesn't work if the field is optional, and thus not provided

This works locally when passing in an explicit None to response_format or leaving it empty, when testing locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant