Update the smoke report reference
This commit is contained in:
10
docs/cli.md
10
docs/cli.md
@@ -1027,7 +1027,7 @@ conflicting namespace flags use status `2`.
|
||||
| `--llm-api-key-env` | string | omitted | Name the environment variable containing the API key. |
|
||||
| `--llm-transient-retries` | integer | omitted | Set the retry count for transient inference failures. |
|
||||
| `--llm-extra-params` | JSON object | omitted | Supply provider parameters as a whole map. |
|
||||
| `--format` | `text`, `yaml`, `json` | automatic | Select the report format; automatic and text use YAML for these structured reports. |
|
||||
| `--format` | `text`, `yaml`, `json` | automatic | Select the report format; automatic/text use the smoke text template (YAML evidence with percentage comments). YAML/JSON select structured output. |
|
||||
|
||||
These execution flags override settings for the selected operation. The
|
||||
`--llm-api-key-env` value is a variable name, not a credential value. The
|
||||
@@ -1049,7 +1049,11 @@ The report includes `kind`, `supported`, `applicable`, `completed`, `reason`,
|
||||
contains selected IDs, selection source, endpoint, effective settings, and
|
||||
settings-presence flags. Attempt entries retain their own facts, timing,
|
||||
failure, and token-usage evidence. Durations use Go duration strings; token
|
||||
counts preserve `value`, `known`, and `complete`.
|
||||
counts preserve `value`, `known`, and `complete`. Both attempt and aggregate
|
||||
usage include `reasoning_tokens` with that count state and `cache_hit_ratio`.
|
||||
The structured ratio is a nullable numeric fraction: `0.2` means 20%, `0` is a
|
||||
known zero ratio, and null means unavailable. Text adds available ratios as
|
||||
percentages with one decimal place. PromptKit owns the ratio and token meanings.
|
||||
|
||||
For example, this report says the configured HTTP diagnostic is unavailable:
|
||||
|
||||
@@ -1106,6 +1110,8 @@ attempts: []
|
||||
usage:
|
||||
prompt_tokens: {value: 0, known: true, complete: true}
|
||||
completion_tokens: {value: 0, known: true, complete: true}
|
||||
reasoning_tokens: {value: 0, known: true, complete: true}
|
||||
cache_hit_ratio: null
|
||||
total_tokens: {value: 0, known: true, complete: true}
|
||||
cached_tokens: {value: 0, known: true, complete: true}
|
||||
cache_write_tokens: {value: 0, known: true, complete: true}
|
||||
|
||||
Reference in New Issue
Block a user