TC #75 — Phase 7 opts.include_usage = false suppresses stream_options #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).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.