Skip to content

[NET-1411] fix: Capture usage for OpenAI Response API when stream ends due token limit - #351

Open
Nithish-KV wants to merge 3 commits into
developfrom
fix/openai-stream-usage
Open

[NET-1411] fix: Capture usage for OpenAI Response API when stream ends due token limit#351
Nithish-KV wants to merge 3 commits into
developfrom
fix/openai-stream-usage

Conversation

@Nithish-KV

@Nithish-KV Nithish-KV commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Changes

  • fix: Capture token usage in instrumentation spans for the OpenAI - Responses API in streaming mode when the stream ends due to the token limit.

Jira

NET-1411

Comment thread netra/instrumentation/openai/wrappers.py Outdated
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