Record the model that served a run's usage #20

Merged
weichen merged 1 commits from feature/durable-rewind into main 2026-10-03 17:40:15 +00:00
Owner

Why: a fallback chain can answer with a different model than the one that was requested, and usage has to name the model that actually served.
Evidence: go test .
Impact: the field is omitted when empty, so existing usage JSON stays the same.
Refs: feature/durable-rewind

Why: a fallback chain can answer with a different model than the one that was requested, and usage has to name the model that actually served. Evidence: go test . Impact: the field is omitted when empty, so existing usage JSON stays the same. Refs: feature/durable-rewind
weichen added 1 commit 2026-10-03 17:39:49 +00:00
Why: a fallback chain can answer with a different model than the one that was requested, and usage has to name the model that actually served.
Evidence: go test .
Impact: the field is omitted when empty, so existing usage JSON stays the same.
Refs: feature/durable-rewind
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit a7db6a4d0f into main 2026-10-03 17:40:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#20