mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 03:31:23 +00:00
310d61ba70
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>
Logic specific for litellm.completion.
Includes:
- Bridge for transforming completion requests to responses api requests