fix(ci): Fix mypy errors, ruff lint, and bump proxy-extras to 0.4.38

- Fix mypy: use dict(Reasoning()) instead of Reasoning() for type compatibility
- Fix mypy: use setattr for dynamic provider_specific_fields attribute
- Fix mypy: avoid TypedDict dynamic key access in vertex_ai extra_body merge
- Fix mypy: use Any type for managed_vector_stores hook
- Fix mypy: cast scope to dict for MutableMapping compatibility
- Fix mypy: add assert for api_base None check in zscaler guard
- Fix ruff: remove unused cast import in vertex_ai_ingestion
- Bump litellm-proxy-extras to 0.4.38 (0.4.37 already published)
This commit is contained in:
OpenClaw 2026-02-14 01:47:19 +00:00
parent 296035e868
commit ebbe8ad15b
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "litellm-proxy-extras"
version = "0.4.37"
version = "0.4.38"
description = "Additional files for the LiteLLM Proxy. Reduces the size of the main litellm package."
authors = ["BerriAI"]
readme = "README.md"
@ -22,7 +22,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.commitizen]
version = "0.4.37"
version = "0.4.38"
version_files = [
"pyproject.toml:version",
"../requirements.txt:litellm-proxy-extras==",

View file

@ -10,7 +10,7 @@ Based on: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/model-refer
from __future__ import annotations
import json
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, cast
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
from litellm._logging import verbose_logger
from litellm.llms.custom_httpx.http_handler import (