Skip to content

docs(openspec): plan #4244 Test both reference prices from the template - #6766

Merged
dan-petty merged 1 commit into
mainfrom
feat/4244-hold-the-reference-prices-in-a
Nov 22, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/4244-hold-the-reference-prices-in-a

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

#4242 merged the setting ai.price_overrides, the registry read of it before genai-prices, and the two reference prices in the Service ConfigMap template, so the code this issue asks for already stands at the staged commit. This change adds the one test that the acceptance criteria still lack. The test reads the committed template, loads its settings, builds the pricing registry on an empty data directory, and prices both reference models through the call the reports make, with the genai-prices query stubbed out. It asserts 0.035 and 1.50 USD per million tokens for qwen3.8:27b and 0.01 and 0 for qwen/qwen3-embedding-8b, with no unpriced warning. Only tests change, so the change carries no spec delta.

Plans #4244

Change: openspec/changes/4244-hold-the-reference-prices-in-a/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 22, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 22, 2026 13:53
@dan-petty
dan-petty force-pushed the feat/4244-hold-the-reference-prices-in-a branch from 4491b1e to 40a9437 Compare November 22, 2026 15:10
@dan-petty
dan-petty merged commit 979c9dc into main Nov 22, 2026
26 checks passed
@dan-petty
dan-petty deleted the feat/4244-hold-the-reference-prices-in-a branch November 22, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant