litellm/litellm
Yuneng Jiang 310d61ba70
[Fix] Replace cast with proper typing for reasoning_items
Add reasoning_items field to ChatCompletionAssistantMessage TypedDict
and extract a typed _get_reasoning_items helper instead of using cast.
Also widen _reasoning_item_to_response_input to accept ChatCompletionReasoningItem.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 11:33:26 -07:00
..
a2a_protocol
anthropic_interface
assistants
batch_completion
batches Merge pull request #23957 from Sameerlite/litellm_vertex-cancel-batch 2026-03-20 23:32:50 +05:30
caching Litellm ishaan march 20 (#24303) 2026-03-21 12:40:11 -07:00
completion_extras [Fix] Replace cast with proper typing for reasoning_items 2026-03-30 11:33:26 -07:00
containers
endpoints/speech/speech_to_completion_bridge
evals
experimental_mcp_client
files
fine_tuning address greptile review feedback (greploop iteration 1) 2026-03-27 20:04:41 +05:30
google_genai
images
integrations feat(prometheus): add metrics for managed batch lifecycle 2026-03-27 20:30:09 +05:30
interactions
litellm_core_utils Merge pull request #24603 from Sameerlite/litellm_openrouter-wildcard-strip-prefix 2026-03-27 10:11:01 -07:00
llms Merge pull request #24661 from Sameerlite/litellm_filter-metadata-user-id 2026-03-27 10:00:36 -07:00
ocr
passthrough
proxy [Fix] Resolve mypy type errors across 3 files 2026-03-30 10:56:54 -07:00
proxy_auth
rag
realtime_api
rerank_api
responses Apply Black formatting to 11 files 2026-03-21 15:05:53 -07:00
router_strategy
router_utils feat(router): add health-check-driven routing behind opt-in flag 2026-03-27 20:57:08 +05:30
search
secret_managers
skills
types [Fix] Replace cast with proper typing for reasoning_items 2026-03-30 11:33:26 -07:00
vector_store_files
vector_stores
videos
__init__.py fix: make reasoning summary opt-in, fix missing injection path, narrow test exceptions 2026-03-21 11:36:26 -07:00
_lazy_imports_registry.py
_lazy_imports.py
_logging.py fix: add key-name-based secret redaction to catch secrets in config dict dumps 2026-03-21 11:44:49 -07:00
_redis.py
_service_logger.py
_uuid.py
_version.py
anthropic_beta_headers_config.json
anthropic_beta_headers_manager.py
blog_posts.json
budget_manager.py
constants.py feat(router): add health-check-driven routing behind opt-in flag 2026-03-27 20:57:08 +05:30
cost_calculator.py Ishaan - March 18th changes (#24056) 2026-03-19 10:20:35 -07:00
cost.json
exceptions.py
main.py Merge branch 'main' into litellm_oss_staging_03_17_2026 2026-03-19 15:53:06 +05:30
model_prices_and_context_window_backup.json Merge pull request #24689 from Sameerlite/litellm_litellm_remove-200k-pricing-opus-sonnet-46 2026-03-27 10:26:17 -07:00
mypy.ini
policy_templates_backup.json
provider_endpoints_support_backup.json
py.typed
router.py fix: revert accidental _litellm_uuid import back to _uuid 2026-03-27 20:57:08 +05:30
scheduler.py
setup_wizard.py
timeout.py
utils.py Merge pull request #24611 from Sameerlite/Sameerlite/order-fallback2 2026-03-27 20:15:30 +05:30