Back
AI summary
Written by AI from the official notes. Check them for exact details.The API now strictly enforces parameter validity and corrects a documentation error.
- API now enforces validity of all parameters in requests.
- Unsupported parameters will trigger an error message.
- Documentation corrected from 'safe_mode' to 'safe_prompt'.
Why it matters: Developers using the API should update their requests to avoid errors.
Full release notes2 changes
- We have enhanced the API's strictness. Previously the API would silently ignores unsupported parameters in the requests, but it now strictly enforces the validity of all parameters. If you have unsupported parameters in your request, you will see the error message "Extra inputs are not permitted".
- A previous version of the guardrailing documentation incorrectly referred to the API parameter as
safe_modeinstead ofsafe_prompt. We corrected this in the documentation.