cohere-python
cohere-python copied to clipboard
fix(custom code): update decorator to ignore missing arguments
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