mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
Merge 6579ec2f9d into sapling-pr-archive-bolinfest
This commit is contained in:
@@ -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],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user