diff --git a/ci_cd/generate_model_prices_schema.py b/ci_cd/generate_model_prices_schema.py index f54177def8e..8eec07dadda 100644 --- a/ci_cd/generate_model_prices_schema.py +++ b/ci_cd/generate_model_prices_schema.py @@ -211,24 +211,6 @@ NUMBER_KEYS: dict[str, JsonSchema] = { }, } -BOOLEAN_KEYS: dict[str, JsonSchema] = { - "supports_bedrock_runtime_chat_completions_response_format": { - "type": "boolean", - "description": ( - "The Bedrock native /v1/chat/completions route enforces a json_schema response_format for this model; " - "unset means LiteLLM serves those requests through Converse's json_tool_call emulation." - ), - }, - "supports_bedrock_runtime_chat_completions_tools_with_reasoning": { - "type": "boolean", - "description": ( - "The Bedrock native /v1/chat/completions route serves this model's function tools with any " - "reasoning_effort; unset means LiteLLM serves a tools request through Converse unless reasoning_effort " - "is exactly 'none'." - ), - }, -} - COST_DESCRIPTIONS: dict[str, str] = { "input_cost_per_token": "USD per prompt token.", "output_cost_per_token": "USD per generated token.", @@ -310,7 +292,7 @@ def string_key_schemas(modes: tuple) -> dict[str, JsonSchema]: def classify(key: str, modes: tuple) -> Optional[JsonSchema]: - curated = {**OBJECT_KEYS, **ARRAY_KEYS, **string_key_schemas(modes), **INTEGER_KEYS, **NUMBER_KEYS, **BOOLEAN_KEYS} + curated = {**OBJECT_KEYS, **ARRAY_KEYS, **string_key_schemas(modes), **INTEGER_KEYS, **NUMBER_KEYS} if key in curated: return curated[key] if key.startswith("supports_") or key in EXTRA_BOOLEAN_KEYS: diff --git a/litellm-rust/crates/model-catalog/src/model_info.rs b/litellm-rust/crates/model-catalog/src/model_info.rs index 5dda91b2213..23e69f66492 100644 --- a/litellm-rust/crates/model-catalog/src/model_info.rs +++ b/litellm-rust/crates/model-catalog/src/model_info.rs @@ -581,10 +581,8 @@ pub struct ModelInfo { pub supports_audio_input: Option, #[serde(default, skip_serializing_if = "Option::is_none")] pub supports_audio_output: Option, - /// The Bedrock native /v1/chat/completions route enforces a json_schema response_format for this model; unset means LiteLLM serves those requests through Converse's json_tool_call emulation. #[serde(default, skip_serializing_if = "Option::is_none")] pub supports_bedrock_runtime_chat_completions_response_format: Option, - /// The Bedrock native /v1/chat/completions route serves this model's function tools with any reasoning_effort; unset means LiteLLM serves a tools request through Converse unless reasoning_effort is exactly 'none'. #[serde(default, skip_serializing_if = "Option::is_none")] pub supports_bedrock_runtime_chat_completions_tools_with_reasoning: Option, #[serde(default, skip_serializing_if = "Option::is_none")] diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.json index d9a7dd2fff5..bcb0509f25c 100644 --- a/model_prices_and_context_window.schema.json +++ b/model_prices_and_context_window.schema.json @@ -903,12 +903,10 @@ "type": "boolean" }, "supports_bedrock_runtime_chat_completions_response_format": { - "type": "boolean", - "description": "The Bedrock native /v1/chat/completions route enforces a json_schema response_format for this model; unset means LiteLLM serves those requests through Converse's json_tool_call emulation." + "type": "boolean" }, "supports_bedrock_runtime_chat_completions_tools_with_reasoning": { - "type": "boolean", - "description": "The Bedrock native /v1/chat/completions route serves this model's function tools with any reasoning_effort; unset means LiteLLM serves a tools request through Converse unless reasoning_effort is exactly 'none'." + "type": "boolean" }, "supports_computer_use": { "type": "boolean"