litellm/litellm
Julio Quinteros Pro fdcb2ca37d fix(mypy): resolve type errors introduced by MCP user permissions (#21462)
- Cast `guardrail` to `Dict[str, Any]` in `mcp_end_user_permission/__init__.py`
  to fix "No overload variant of 'get' matches argument type 'str'" — the
  `Guardrail` TypedDict's `.get()` overloads resolve the key type to `Never`
  when chained with a `{}` default, making further `.get()` calls fail.
- Cast `fn` to `Dict[str, Any]` in `transformation.py`
  `transform_chat_completion_tool_params_to_responses_api_tools` to fix
  '"object" has no attribute "get"' — `tool.get("function")` on
  `Union[ChatCompletionFunctionToolParam, OpenAIMcpServerTool]` returns
  `object` because `"function"` is not a key in `OpenAIMcpServerTool`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 02:02:17 -03:00
..
a2a_protocol fix: prompt registry 2026-02-18 00:34:54 +05:30
anthropic_interface fix: prompt registry 2026-02-18 00:34:54 +05:30
assistants
batch_completion fix: prompt registry 2026-02-18 00:34:54 +05:30
batches fix: prompt registry 2026-02-18 00:34:54 +05:30
caching fix: prompt registry 2026-02-18 00:34:54 +05:30
completion_extras fix code quality tests and mypy 2026-02-18 17:36:36 +05:30
containers fix: prompt registry 2026-02-18 00:34:54 +05:30
endpoints/speech/speech_to_completion_bridge fix: fix import errors 2025-09-14 09:32:21 -07:00
evals fix: prompt registry 2026-02-18 00:34:54 +05:30
experimental_mcp_client fix: prompt registry 2026-02-18 00:34:54 +05:30
files fix: prompt registry 2026-02-18 00:34:54 +05:30
fine_tuning Litellm managed file updates combined (#11040) 2025-05-22 17:20:41 -07:00
google_genai fix: prompt registry 2026-02-18 00:34:54 +05:30
images fix: prompt registry 2026-02-18 00:34:54 +05:30
integrations fix: guard against None metadata in prometheus metrics (#21489) 2026-02-18 12:40:45 -08:00
interactions fix: prompt registry 2026-02-18 00:34:54 +05:30
litellm_core_utils Fix:test_standard_logging_payload_stream_usage 2026-02-19 08:47:09 +05:30
llms Mcp user permissions (#21462) 2026-02-18 18:53:59 -08:00
ocr [Feat] /ocr - Add VertexAI OCR provider support + cost tracking (#16216) 2025-11-03 15:56:49 -08:00
passthrough fix: prompt registry 2026-02-18 00:34:54 +05:30
proxy fix(mypy): resolve type errors introduced by MCP user permissions (#21462) 2026-02-19 02:02:17 -03:00
proxy_auth fix: prompt registry 2026-02-18 00:34:54 +05:30
rag fix: prompt registry 2026-02-18 00:34:54 +05:30
realtime_api fix: prompt registry 2026-02-18 00:34:54 +05:30
rerank_api fix: prompt registry 2026-02-18 00:34:54 +05:30
responses fix(mypy): resolve type errors introduced by MCP user permissions (#21462) 2026-02-19 02:02:17 -03:00
router_strategy fix: prompt registry 2026-02-18 00:34:54 +05:30
router_utils Merge main into affinity_callback and address deployment affinity review feedback 2026-02-18 10:01:11 -06:00
search [Bug Fix] Exa Search API - ensure request params are sent to Exa AI (#15855) 2025-10-23 11:56:30 -07:00
secret_managers fix: prompt registry 2026-02-18 00:34:54 +05:30
skills fix: prompt registry 2026-02-18 00:34:54 +05:30
types Mcp user permissions (#21462) 2026-02-18 18:53:59 -08:00
vector_store_files Vector store files Stable Release (#16643) 2025-11-15 13:00:33 -08:00
vector_stores Fix vector store configuration synchronization failure 2025-12-05 11:46:14 +05:30
videos fix: respect videos content db creds 2025-12-10 23:00:01 +05:30
__init__.py Merge branch 'main' into litellm_oss_staging_02_17_2026 2026-02-18 17:26:33 +05:30
_lazy_imports.py fix: prompt registry 2026-02-18 00:34:54 +05:30
_lazy_imports_registry.py Merge branch 'main' into litellm_oss_staging_02_17_2026 2026-02-18 17:26:33 +05:30
_logging.py fix: prompt registry 2026-02-18 00:34:54 +05:30
_redis.py fix: Apply max_connections configuration to Redis async client (#15797) 2025-10-22 09:19:08 -07:00
_service_logger.py fix: prompt registry 2026-02-18 00:34:54 +05:30
_uuid.py Fix: revert fastuuid optional dependency, always use fastuuid in .__uid helper (#14941) 2025-09-26 09:14:20 -07:00
_version.py
anthropic_beta_headers_config.json Add supoort for context-1m-2025-08-07 2026-02-19 09:52:23 +05:30
anthropic_beta_headers_manager.py fix: prompt registry 2026-02-18 00:34:54 +05:30
budget_manager.py
constants.py Merge branch 'main' into litellm_oss_staging_02_17_2026 2026-02-18 17:26:33 +05:30
cost.json
cost_calculator.py fix: prompt registry 2026-02-18 00:34:54 +05:30
exceptions.py fix: prompt registry 2026-02-18 00:34:54 +05:30
main.py fix: prompt registry 2026-02-18 00:34:54 +05:30
model_prices_and_context_window_backup.json Merge pull request #21448 from BerriAI/litellm_sonnet_4_6_feat 2026-02-18 18:44:36 +05:30
mypy.ini fix mypy 2025-09-27 12:21:32 -07:00
policy_templates_backup.json Add aviation and UAE policy templates with tag-based filtering (#21518) 2026-02-18 18:26:24 -08:00
py.typed
router.py Merge main into affinity_callback and address deployment affinity review feedback 2026-02-18 10:01:11 -06:00
scheduler.py fix: prompt registry 2026-02-18 00:34:54 +05:30
timeout.py
utils.py Merge pull request #21467 from BerriAI/litellm_add_duck_duck_go 2026-02-18 18:38:37 +05:30