#29168 [Bug]: LiteLLM Proxy doesn't drop 'minimum' or 'maximum' on Bedrock anymore
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
Old Version: v1.81.9 New Version: v1.86.2
We use `minimum` and `maximum` in our JSON schemas and we don't want to remove them because some LLM/Providers support it:
``` "score": { "type": "number", "minimum": 0, "maximum": 1, "description": "..." } ```
Our old LiteLLM Proxy was dropping this correctly for requests to `claude-sonnet-4-6` on AWS Bedrock which doesn't seem to support these.
With the new version, we get this error:
``` litellm.BadRequestError: BedrockException - {"message":"The model returned the following errors: output_config.format.schema: For \'number\' type, properties maximum, minimum are not supported"} ```
### Steps to Reproduce
1. Create a tool/function (or try to create a JSON object from schema) with `minimum` or `maximum` 2. Send to Bedrock
Here is a minimal Python example that stopped working in new version:
``` import openai
client = openai.OpenAI( api_key='...', base_url='...' )
json_schema = { "name": "ExampleSchema", "schema": { "type": "object", "properties": { …