Skip to content

Conversation

@iuiaoin
Copy link
Collaborator

@iuiaoin iuiaoin commented Jan 28, 2026

The test script previously only tested non-streaming mode (stream=False).
Now both streaming and non-streaming responses are tested sequentially,
and both must pass for the sample to be considered successful.

Changes to test_hosted_sample.py:

  • Add stream parameter to send_test_request() function
  • Handle streaming responses by collecting chunks via iter_lines()
  • Run non-streaming test first, then streaming test
  • Report detailed status for each mode (passed/failed, chunk count)

Result JSON now includes:

  • non_streaming: passed/failed
  • streaming: passed/failed
  • streaming_chunks:

@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin had a problem deploying to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Failure
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@iuiaoin iuiaoin temporarily deployed to hosted-agents-test January 28, 2026 23:36 — with GitHub Actions Inactive
@melionel melionel merged commit 5727efe into main Jan 28, 2026
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.

3 participants