Repository navigation
docs(openspec): plan #4244 Test both reference prices from the template - #6766
Merged
Merged
Conversation
dan-petty
force-pushed
the
feat/4244-hold-the-reference-prices-in-a
branch
from
November 22, 2026 15:10
4491b1e to
40a9437
Compare
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#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/