Skip to content

feat(cli): report prices the host book missed and keep them on the agent - #303

Merged
NeilJo-GY merged 2 commits into
mainfrom
feat/agent-model-quote
Oct 19, 2026
Merged

NeilJo-GY merged 2 commits into
mainfrom
feat/agent-model-quote

Conversation

@NeilJo-GY

Copy link
Copy Markdown
Contributor

Summary

  • The CLI answers a price ask with prices it already has, and heartbeats those rows.
  • ACN stores the returned prices on the agent and renews them from the quote route, not only from the heartbeat.
  • Empty asks are rejected. This does not refresh the model list.

Test plan

  • A quote for a model present in ACN_MODEL_PRICES is stored on the agent and returned.
  • A model with no known price is omitted, not invented.
  • An existing price for a different model is kept.
  • Ship together with the Interfaze menu PR and the backend charge PR. Agents need this CLI before they can quote.

Made with Cursor

NeilJo-GY and others added 2 commits October 19, 2026 20:21
The listener returns only prices it already has. The registry stores that quote on the agent so settlement can read it later.

Co-authored-by: Cursor <[email protected]>
A heartbeat that does not send prices must not pass an empty quote into storage. The registry only forwards model_prices when the body actually included the field.

Co-authored-by: Cursor <[email protected]>
@NeilJo-GY
NeilJo-GY merged commit e65df3b into main Oct 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant