Skip to content

Conversation

@ultmaster
Copy link
Contributor

Title

Text content could be missing from the final response (Anthropic client, OpenAI backend) when there is a co-existing tool call in the raw response, which is a very common case for Claude Code.

Relevant issues

microsoft/agent-lightning#376

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
image

Type

🐛 Bug Fix

Changes

Thanks @zxgx for pinpointing the root cause of the issue.

@vercel
Copy link

vercel bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Dec 9, 2025 3:16am

@krrishdholakia krrishdholakia merged commit 1aed37b into BerriAI:main Dec 11, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants