## Summary - add integration test for chat mode streaming via CLI using wiremock - add integration test for Responses API streaming via fixture - call `cargo run` to invoke the CLI during tests ## Testing - `cargo test -p codex-core --test cli_stream -- --nocapture` - `cargo clippy --all-targets --all-features -- -D warnings` ------ https://chatgpt.com/codex/tasks/task_i_68715980bbec8321999534fdd6a013c1
9 lines
365 B
Plaintext
9 lines
365 B
Plaintext
event: response.created
|
|
data: {"type":"response.created","response":{"id":"resp1"}}
|
|
|
|
event: response.output_item.done
|
|
data: {"type":"response.output_item.done","item":{"type":"message","role":"assistant","content":[{"type":"output_text","text":"fixture hello"}]}}
|
|
|
|
event: response.completed
|
|
data: {"type":"response.completed","response":{"id":"resp1","output":[]}}
|