TC #66 — Phase 7 broker.chat returns (text, usage) tuple #66

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

Scenario

Cloud: local text, usage = broker.chat(cloud_cfg, msgs) -> text non-nil, usage non-nil with cost>0.
Local: same call against local_cfg -> text non-nil, usage non-nil with cost=nil (R6 preservation).
Failure: bad endpoint -> text==nil, second-value is the err string (existing contract preserved).

## Scenario Cloud: `local text, usage = broker.chat(cloud_cfg, msgs)` -> text non-nil, usage non-nil with cost>0. Local: same call against local_cfg -> text non-nil, usage non-nil with cost=nil (R6 preservation). Failure: bad endpoint -> text==nil, second-value is the err string (existing contract preserved).
claude-noether added the test-case label 2026-05-16 23:03:27 +00:00
Author
Collaborator

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

Cloud chat -> (text, usage) with cost=2.8e-05; local chat -> (text, usage) with cost=NIL (R6 preservation); bad endpoint -> (nil, transport_err) preserves existing failure contract.

Closed by Phase 7 verify.

Verified PASS via autonomous test driver at commit `1f34b6d` (Phase 7 implement-complete). Cloud chat -> (text, usage) with cost=2.8e-05; local chat -> (text, usage) with cost=NIL (R6 preservation); bad endpoint -> (nil, transport_err) preserves existing failure contract. Closed by Phase 7 verify.
Sign in to join this conversation.