test OpenAI include_usage in streaming by anakin87 · Pull Request #4137 · deepset-ai/haystack-core-integrations · GitHub
Skip to content

test OpenAI include_usage in streaming - #4137

Closed
anakin87 wants to merge 3 commits into
mainfrom
test-openai-streaming-usage
Closed

anakin87 wants to merge 3 commits into
mainfrom
test-openai-streaming-usage

Conversation

@anakin87

@anakin87 anakin87 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

This PR tests that including usage by default when streaming with OpenAIChatGenerator (deepset-ai/haystack#13365) does not break streaming in inheriting components.

Each integration's integration tests exercise streaming.

Results:

  • AIMLAPI, CometAPI, EdenAI, Hetzner, Llama Stack, Mistral, Otari, STACKIT and vLLM verified in CI.
  • NVIDIA, OrcaRouter and OpenRouter tests fail/do not run in CI for unrelated reasons. Verified locally.
  • TogetherAI tests failed because of exhausted credits. Same issue locally, no free plan.

Overall, the change does not break streaming.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (mistral)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (nvidia)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (orcarouter)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (cometapi)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (hetzner)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (otari)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (togetherai)

This PR does not seem to contain any modification to coverable code.

@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Coverage report (openrouter)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/openrouter/src/haystack_integrations/components/generators/openrouter/chat
  chat_generator.py
Project Total  

This report was generated by python-coverage-comment-action

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (edenai)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (llama_stack)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (vllm)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/vllm/src/haystack_integrations/components/generators/vllm/chat
  chat_generator.py
Project Total  

This report was generated by python-coverage-comment-action

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant