diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20260306000000_readd_spec_path_to_mcp_servers/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260306000000_readd_spec_path_to_mcp_servers/migration.sql new file mode 100644 index 00000000000..a6ee1c27590 --- /dev/null +++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260306000000_readd_spec_path_to_mcp_servers/migration.sql @@ -0,0 +1,5 @@ +-- Re-add spec_path column to LiteLLM_MCPServerTable +-- (was dropped in 20260224203854_add_agent_object_permissions_table, now re-added to schema) + +ALTER TABLE "LiteLLM_MCPServerTable" + ADD COLUMN IF NOT EXISTS "spec_path" TEXT; diff --git a/litellm/llms/searchapi/search/transformation.py b/litellm/llms/searchapi/search/transformation.py index 826f2436cb7..afa79b08c7a 100644 --- a/litellm/llms/searchapi/search/transformation.py +++ b/litellm/llms/searchapi/search/transformation.py @@ -159,7 +159,7 @@ class SearchAPIConfig(BaseSearchConfig): domains = optional_params["search_domain_filter"] if isinstance(domains, list) and len(domains) > 0: result_data["q"] = self._append_domain_filters( - result_data["q"], domains + cast(str, result_data["q"]), domains ) if "country" in optional_params: diff --git a/litellm/proxy/auth/handle_jwt.py b/litellm/proxy/auth/handle_jwt.py index bfad9f0c3c7..9282be27109 100644 --- a/litellm/proxy/auth/handle_jwt.py +++ b/litellm/proxy/auth/handle_jwt.py @@ -75,6 +75,7 @@ class JWTHandler: ) -> None: self.http_handler = HTTPHandler() self.leeway = 0 + self.litellm_jwtauth = LiteLLM_JWTAuth() def update_environment( self, diff --git a/tests/test_litellm/llms/azure/chat/test_azure_gpt5_transformation.py b/tests/test_litellm/llms/azure/chat/test_azure_gpt5_transformation.py index 25f3d1364f6..e3c26dd1459 100644 --- a/tests/test_litellm/llms/azure/chat/test_azure_gpt5_transformation.py +++ b/tests/test_litellm/llms/azure/chat/test_azure_gpt5_transformation.py @@ -183,13 +183,13 @@ def test_azure_gpt5_1_temperature_with_reasoning_effort_other_values(config: Azu def test_azure_gpt5_1_series_temperature_handling(config: AzureOpenAIGPT5Config): """Test that Azure GPT-5.1 with gpt5_series prefix supports temperature with reasoning_effort='none'.""" params = config.map_openai_params( - non_default_params={"temperature": 0.6}, + non_default_params={"temperature": 1}, optional_params={}, model="gpt5_series/gpt-5.1", drop_params=False, api_version="2024-05-01-preview", ) - assert params["temperature"] == 0.6 + assert params["temperature"] == 1 def test_azure_gpt5_reasoning_effort_none_error(config: AzureOpenAIGPT5Config): diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py index 952cf5ed70f..799d9167065 100644 --- a/tests/test_litellm/test_utils.py +++ b/tests/test_litellm/test_utils.py @@ -794,6 +794,8 @@ def test_aaamodel_prices_and_context_window_json_is_valid(): }, }, "supports_native_streaming": {"type": "boolean"}, + "supports_none_reasoning_effort": {"type": "boolean"}, + "supports_xhigh_reasoning_effort": {"type": "boolean"}, "tiered_pricing": { "type": "array", "items": {