Repository navigation
fix(ai): price a hosted group call by the asked model - #4231
Conversation
|
Test record for #3665. Fail-to-pass ( Tests added: 6 cases in Full CI ( Design: the rule sits in Out of scope (not done here):
|
fa9be96 to
dd75290
Compare
🤖 I have created a release *beep* *boop* --- ## [0.101.0](v0.100.2...v0.101.0) (2026-11-09) ### Features * **config:** add task variables for the context window ([#4234](#4234)) ([c034509](c034509)) ### Bug Fixes * **ai:** price a hosted group call by the asked model ([#4231](#4231)) ([7b85c91](7b85c91)) * **ai:** Refuse uv audit when project is outside workspace ([#4239](#4239)) ([1700648](1700648)) * **ci:** retry the download of a release asset ([#4235](#4235)) ([cf0567e](cf0567e)) * **service:** use load_settings() in GET /config ([#4233](#4233)) ([230d77c](230d77c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
An agent run on a hosted gateway group is recorded as local spend at $0 (#3665).
record_run_spendinsrc/devops_cli/roadmap/agent_run.pywrites one record per run. When no reply names a model, the record has noserved_byand noserved_model, andis_localthen decides from the gateway host: a gateway that is the cluster host is local. The production counter of jobroadmap-serviceon 2026-11-09 shows 68 Mclaude-sonnet-5-5prompt tokens aslocal=trueat $0, while the gateway log prices them at $2 per million. The DeepSeek group shows $0 on the counter against $14 on the gateway. #3663 fixed a reply that names a model, and #4216 passes the model that a reply names. A run whose replies name no model is still wrong.Closes #3665
Change:
openspec/changes/archive/2026-11-09-3665-an-agent-run-on-a-hosted/