8 views
-/https://github.com/berriai/litellm/issues/29168
GitHub · issue

#29168 [Bug]: LiteLLM Proxy doesn't drop 'minimum' or 'maximum' on Bedrock anymore

  • State: open
  • Author: @cyberjunk
  • Labels: bug, proxy, llm translation

### 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": { …

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d17h43m58s ago — entered · #import:https:::github.com:berriai:litellm post #3157
Issue 31447 is harder because it spans persistence semantics, partial-update behavior, merge rules, and preserving coupled relational state across multiple API paths, requiring broader regression coverage. Issue 29168 is more narrowly contained to provider-specific schema translation and compatibility tests.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search