Verify native provider accounting and smoke reports with local HTTP
This commit is contained in:
@@ -272,6 +272,17 @@ Use focused `-race` runs for the new concurrent fixture. No production API calls
|
||||
|
||||
## Stage 5 — Verify Provider Accounting And Native Smoke Exposure
|
||||
|
||||
**Status:** Complete. A real native HTTP client and one local server fixture
|
||||
cover explicit OpenRouter selection on an arbitrary backend ID, reasoning/cache
|
||||
details, positive and reported-zero cost, unchanged domain/completion output,
|
||||
and native result/debug/diagnostic propagation. Installed smoke commands retain
|
||||
reasoning and nullable ratio values in JSON, native default text, and separate
|
||||
ordinary accounting; help does not load configuration. Recorded the published
|
||||
smoke API's target-only prompt selection rather than inventing input flags.
|
||||
Unknown-cost capture coverage and complete-example inherited-provider inspection
|
||||
pass. Focused CLI/pipeline checks and whitespace pass; fixtures use no real
|
||||
credentials and all HTTP calls stay local. Example configurations are unchanged.
|
||||
|
||||
**Goal:** Cover the new provider/accounting boundary once through the real HTTP
|
||||
client and installed native commands.
|
||||
|
||||
@@ -297,9 +308,10 @@ contract linked from the feature roadmap.
|
||||
provider field, add custom response parsing, or add a second vLLM decoder
|
||||
suite; upstream owns those contracts.
|
||||
4. Through the installed ckprompt suite, use the same local fixture for explicit
|
||||
`promptkit test text_inference` with a concrete prompt, profile, and required
|
||||
inline inputs. Request structured JSON (and YAML only if an existing test
|
||||
covers it) and check reasoning and nullable cache-hit-ratio propagation.
|
||||
`promptkit test text_inference` with a concrete prompt and profile. The selected
|
||||
native smoke API uses the prompt only for target selection; it does not execute
|
||||
its body or accept prompt inputs. Request structured JSON (and YAML only if
|
||||
an existing test covers it) and check reasoning and nullable cache-hit-ratio propagation.
|
||||
Smoke usage is in its own report, not an added smoke cost field or duplicate
|
||||
ordinary accounting. Check default smoke output/help against native behavior
|
||||
without a full-format golden file.
|
||||
|
||||
Reference in New Issue
Block a user