litellm/litellm/types
Brian Caswell c9f88bf2c7
mitigate PydanticDeprecatedSince20 warnings (#17657)
When using litellm with a recent pydantic, the following deprecation warnings are shown

```
litellm/types/llms/anthropic.py:531: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
  class AnthropicResponseContentBlockToolUse(BaseModel):
litellm/types/rag.py:181: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
  class RAGIngestRequest(BaseModel):
```

This aligns with multiple existing places within the litellm codebase that uses ConfigDict to configure pydantic model behavior.
2025-12-08 18:48:42 -08:00
..
containers Add E2E Container API Support (#16136) 2025-11-01 14:03:51 -07:00
google_genai
images
integrations feat: Basic Weave OTEL integration (#17439) 2025-12-03 21:26:22 -08:00
litellm_core_utils include server_tool_use in streaming usage (#16826) 2025-11-25 14:50:17 -08:00
llms mitigate PydanticDeprecatedSince20 warnings (#17657) 2025-12-08 18:48:42 -08:00
management_endpoints [Feature] UI - Cache Settings Redis Add Semantic Cache Settings (#16398) 2025-11-08 10:09:49 -08:00
mcp_server feat: add dynamic OAuth2 metadata discovery for MCP servers (#16676) 2025-11-14 18:14:43 -08:00
passthrough_endpoints
prompts [Feat] UI - Show "get code" section for prompt management + minor polish of showing version history (#16941) 2025-11-21 14:00:33 -08:00
proxy add onyx guardrail hooks integration (#16591) 2025-12-07 23:33:28 -08:00
responses fix(responses): Add image generation support for Responses API (#16586) 2025-12-05 15:56:26 -08:00
secret_managers [Feat] Adds IAM role assumption support for AWS Secret Manager (#16887) 2025-11-20 12:38:48 -08:00
videos Add Vertex and Gemini Videos API with Cost Tracking + UI support (#16323) 2025-11-08 16:03:51 -08:00
adapter.py
agents.py [Feat] Agent Gateway - Allow invoking agents through AI Gateway (#17440) 2025-12-03 18:54:55 -08:00
caching.py
completion.py
embedding.py
files.py
fine_tuning.py
guardrails.py add onyx guardrail hooks integration (#16591) 2025-12-07 23:33:28 -08:00
mcp.py MCP Hub - publish/discover MCP Servers within a company (#16857) 2025-11-19 19:06:21 -08:00
rag.py mitigate PydanticDeprecatedSince20 warnings (#17657) 2025-12-08 18:48:42 -08:00
realtime.py
rerank.py
router.py Add aws_bedrock_runtime_endpoint into Credential Types (#17053) 2025-11-24 20:48:51 -08:00
scheduler.py
search.py
services.py test fixes 2025-12-05 17:12:01 -08:00
tag_management.py
utils.py [Feat] Dynamic Rate Limiter - allow specifying ttl for in memory cache (#17679) 2025-12-08 17:20:52 -08:00
vector_store_files.py Vector store files Stable Release (#16643) 2025-11-15 13:00:33 -08:00
vector_stores.py Add vector store support for ragflow 2025-12-03 15:29:47 +05:30