mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 05:28:02 +00:00
1ea7803d39
* fix(github_copilot): preserve encrypted_content in reasoning items for multi-turn conversations GitHub Copilot uses encrypted_content in reasoning items to maintain conversation state across turns. The parent class (OpenAIResponsesAPIConfig._handle_reasoning_item) strips this field when converting to OpenAI's ResponseReasoningItem model, causing "encrypted content could not be verified" errors on multi-turn requests. This override preserves encrypted_content while still filtering out status=None which OpenAI's API rejects. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: regenerate poetry.lock * Revert "chore: regenerate poetry.lock" This reverts commit 8796dc8f960571f57945f951709f4eba3c6fc8b2. --------- Co-authored-by: Claude <noreply@anthropic.com>