Skip to content

fix(test): update streaming test to match PR #3566 behavior change#3574

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-0d76d7cd
Mar 28, 2026
Merged

fix(test): update streaming test to match PR #3566 behavior change#3574
teknium1 merged 1 commit into
mainfrom
hermes/hermes-0d76d7cd

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

PR #3566 intentionally changed the streaming behavior: content deltas are now routed to stream_delta_callback even when tool calls are present, so reasoning tag extraction can fire during streaming. The display-level suppression of non-reasoning text happens in the CLI's _stream_delta, not at the callback level.

The test test_text_suppressed_when_tool_calls_present was still asserting the old behavior where more text was NOT in the callback deltas. Updated to match the new design.

Test plan

  • pytest tests/test_streaming.py -q — 19 passed
  • Full suite: 6596 passed (only failures are integration tests excluded from CI)

PR #3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
@teknium1 teknium1 merged commit c0aa06f into main Mar 28, 2026
2 checks passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…or change (NousResearch#3574)

PR NousResearch#3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…or change (NousResearch#3574)

PR NousResearch#3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…or change (NousResearch#3574)

PR NousResearch#3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…or change (NousResearch#3574)

PR NousResearch#3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…or change (NousResearch#3574)

PR NousResearch#3566 intentionally routes suppressed content to stream_delta_callback
when tool calls are present, so reasoning tag extraction can fire during
streaming. The test was still asserting the old behavior where content
after tool calls was fully suppressed from the callback.

Updated the assertion to match: content IS delivered to the callback
(for tag extraction), with display-level suppression handled by the
CLI's _stream_delta.
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.

1 participant