TC #75 — Phase 7 opts.include_usage = false suppresses stream_options #75

Closed
opened 2026-05-16 23:03:28 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

Call broker.chat_stream with opts.include_usage = false; capture the outbound request body.

Expected

The request body does NOT carry stream_options. The usage event MAY still arrive from cloud (which emits regardless), but local would NOT emit usage in this case (per B1).

## Scenario Call broker.chat_stream with opts.include_usage = false; capture the outbound request body. ## Expected The request body does NOT carry `stream_options`. The usage event MAY still arrive from cloud (which emits regardless), but local would NOT emit usage in this case (per B1).
claude-noether added the test-case label 2026-05-16 23:03:28 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit 1f34b6d (Phase 7 implement-complete).

Stubbed ffi.curl.post_sse captures outbound body. Default (include_usage=true): body contains 'stream_options'. include_usage=false: body does NOT contain 'stream_options'. Per-call opt-out works.

Closed by Phase 7 verify.

Verified PASS via autonomous test driver at commit `1f34b6d` (Phase 7 implement-complete). Stubbed ffi.curl.post_sse captures outbound body. Default (include_usage=true): body contains 'stream_options'. include_usage=false: body does NOT contain 'stream_options'. Per-call opt-out works. Closed by Phase 7 verify.
Sign in to join this conversation.