Merge 6579ec2f9d into sapling-pr-archive-bolinfest

This commit is contained in:
Michael Bolin
2026-05-11 15:23:23 -07:00
committed by GitHub
@@ -21,7 +21,7 @@ def test_sync_stream_routes_text_deltas_and_completion(tmp_path) -> None:
"""A sync turn stream should expose deltas, completed items, and completion."""
with AppServerHarness(tmp_path) as harness:
harness.responses.enqueue_sse(
streaming_response("stream-1", "msg-stream-1", ["hel", "lo"])
streaming_response("stream-1", "msg-stream-1", ["he", "llo"])
)
with Codex(config=harness.app_server_config()) as codex:
@@ -42,7 +42,7 @@ def test_sync_stream_routes_text_deltas_and_completion(tmp_path) -> None:
if isinstance(event.payload, TurnCompletedNotification)
],
} == {
"deltas": ["hel", "lo"],
"deltas": ["he", "llo"],
"agent_messages": ["hello"],
"completed_statuses": [TurnStatus.completed],
}