Commit Graph
4 Commits
Author SHA1 Message Date
Rohit C Prasad afc91a122f Test expects Fireworks' 1,040,000 window for DeepSeek V4 Pro
The matrix row changed with #489; this test still held the old value.
2026-10-17 16:54:37 +05:30
Amar Teja Kommineni 9ae0f36bf2 fix DeepSeek V4 context windows 2026-10-17 16:35:32 +05:30
Devika Verma fe9cbb00c8 Fix CI: teach provider fakes messages.stream, un-Windows the write-fence probe
df919ed moved complete() to stream-and-accumulate, but the test fakes only
stubbed messages.create — every complete() test died on AttributeError. The
fakes now expose a stream() context manager (get_final_message returns the
canned response) alongside create, which the public stream() path still uses.

test_gate_order_write_fence_survives_bypass probed the fence with a literal
C:/ path — absolute on Windows, but a relative dir named 'C:' on POSIX, which
_candidate() resolves INTO the workspace root; the fence passed and Bypass
allowed. The probe now uses tmp_path.parent, out-of-root on every OS.
2026-08-31 08:48:28 +05:30
Rohit C Prasad 979badbd3c Meter token usage across all model providers
Normalized TokenUsage (input/output/cache split) captured in every provider's
stream and complete paths, persisted as an assistant-message sidecar and sent
on the assistant_message event; matrix gains verified context-window sizes.
2026-07-27 21:01:31 -07:00