Error1 reports
Fix UnsupportedParamsError
in Instructor
✅ Solution
The "UnsupportedParamsError" in instructor often arises from using parameters in your OpenAI-like API call that are not supported by the specific language model you've selected (e.g., passing `response_format` to a model that doesn't accept it). To resolve this, carefully review the documentation for the language model you're using (e.g., Bedrock's specific model documentation) and remove any unsupported parameters from your `client.chat.completions.create()` or similar calls; alternatively, use a model that *does* support the parameters you want to use.
Related Issues
Real GitHub issues where developers encountered this error:
Timeline
First reported:Mar 11, 2025
Last reported:Mar 11, 2025