Log Run
log_runSave a timed LLM run or all promptfoo evaluation results to a local file, letting estimate_time learn from them without sending data anywhere.
Instructions
Keep a timed run, or every result of a promptfoo results file, in a file on this computer so estimate_time learns from it. Nothing is sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| way | No | How the model was called (default api; for a promptfoo file, read from each provider) | |
| task | No | The kind of work, if known | |
| model | No | The model that ran | |
| seconds | No | How long the call took | |
| thinking | No | Thinking was on (a promptfoo result that counts thinking tokens is marked on by itself) | |
| input_tokens | No | Prompt tokens of the call | |
| output_tokens | No | Answer tokens of the call, hidden thinking included | |
| promptfoo_results | No | Path of a promptfoo results file (promptfoo eval -o results.json): every result becomes a run |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||