Skip to content

Conversation

DouweM
Copy link
Collaborator

@DouweM DouweM commented Sep 2, 2025

Usage counts on Anthropic streaming deltas are cumulative.

Fixes #2770

@DouweM DouweM self-assigned this Sep 2, 2025
Copy link

github-actions bot commented Sep 2, 2025

Docs Preview

commit: 3ca1883
Preview URL: https://b05d1d25-pydantic-ai-previews.pydantic.workers.dev

@DouweM DouweM enabled auto-merge (squash) September 2, 2025 19:38
@DouweM DouweM merged commit 3c2624e into main Sep 2, 2025
31 checks passed
@DouweM DouweM deleted the anthropic-streaming-usage branch September 2, 2025 19:41
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.

Streaming token usage shows doubled input tokens vs non-streaming
2 participants