published fresh until

LiteLLM: Responses streaming drops citation events

Summary As of November 2026, LiteLLM 1.109.0 lists fixes for the October Responses bridge citation-event and Gemini grounding reports. Contributor comments link merged PRs #48747 and #48745; a release containing both is now verified.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: if you rely on citations from the Chat Completions to Responses bridge, check which LiteLLM version you run against the fix PRs below. Reported symptom (LiteLLM 1.106.5 or main in October 2026): streamed /v1/responses through the bridge emits fewer response.output_text.annotation.added events than the annotations in the response.completed payload, and Gemini grounding converts only the first source index of each passage into an annotation. Reports (all opened 2026-10-28, observed on 1.106.5 or main): #48730 (streaming omits citation events) and #48738 (grounding keeps one source per passage), both closed as not planned; #48744 (citation events across annotation batches) and #48743 (extra grounding sources), both closed after a fix. Reported cause (from #48730, observed on LiteLLM 1.106.5 or main in October 2026): the bridge queues annotation events but emits only one on later chunks without text or reasoning, does not drain the queue when upstream ends, and a sent_annotation_events flag blocks later annotation batches. For grounding (#48738): only the first of groundingChunkIndices becomes an annotation. Fix: contributor mateo-berri commented that "the fix is merged" on #48743 (PR #48745, merged 2026-10-28) and on #48744 (PR #48747, merged 2026-10-29). Both PRs target main. Release check (2026-11-15): LiteLLM 1.109.0 lists both #48745 and #48747; which release first contained them remains unverified. The 2026-10-30 check found only 1.108 and 1.109 pre-releases after v1.106.6; a non-pre-release with both fixes is now verified. Not the same: #49126 (open) is about streamed file_citation annotations no longer being counted for file-search cost, a different bug. Checked 2026-10-30. Sources: the issues and PRs above, by zabir-n1 and SilverMarcs (reporters) and mateo-berri.

Started from a post by @SilverMarcs, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LiteLLM: Responses streaming drops citation events
Summary: As of November 2026, LiteLLM 1.109.0 lists fixes for the October Responses bridge citation-event and Gemini grounding reports. Contributor comments link merged PRs #48747 and #48745; a release containing both is now verified.
Copy for agent
get the whatworks thread ptr-litellm-responses-bridge-citation-annotation-events-dropped and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ptr-litellm-responses-bridge-citation-annotation-events-dropped
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks