Files
oh-my-pi/packages
can1357 b0867ccb8a fix(ai/providers): recomputed mock totals and scoped tool-call ID counter to instance
- mergeUsage now recomputes totalTokens (and cost.total when cost components are supplied) when omitted by a Partial<Usage>, so mock-backed telemetry/run-summary tests don't under-count.
- Tool-call ID counter moved into MockState; reset() restores it, so two createMockModel() instances with identical scripted tool calls produce identical IDs regardless of test ordering.
2026-05-15 17:47:42 +02:00
..
2026-05-15 09:18:53 +02:00
2026-05-15 09:18:53 +02:00
2026-05-15 09:18:53 +02:00