|
Entropic 2.14.3
Local-first agentic inference engine
|
The numbers a finished generation reports, whatever produced it. More...
#include </home/runner/work/entropic/entropic/src/inference/generation_summary.h>
Public Attributes | |
| int | token_count = 0 |
| Tokens actually generated. | |
| std::string | finish_reason |
| stop / length / error / cancel. | |
| double | generation_time_ms = 0.0 |
| Wall clock for the generation. | |
| double | throughput_tok_s = 0.0 |
| token_count / seconds. | |
| int | n_drafted = 0 |
| Speculative: tokens proposed (0 = plain). | |
| int | n_accepted = 0 |
| Speculative: tokens accepted. | |
The numbers a finished generation reports, whatever produced it.
n_drafted/n_accepted are zero on a plain decode; the formatter omits the speculative clause entirely in that case rather than printing zeros, so a plain line stays byte-identical to what it has always been and existing log parsers keep working.
Definition at line 44 of file generation_summary.h.
| std::string entropic::GenerationSummary::finish_reason |
stop / length / error / cancel.
Definition at line 46 of file generation_summary.h.
| double entropic::GenerationSummary::generation_time_ms = 0.0 |
Wall clock for the generation.
Definition at line 47 of file generation_summary.h.
| int entropic::GenerationSummary::n_accepted = 0 |
Speculative: tokens accepted.
Definition at line 50 of file generation_summary.h.
| int entropic::GenerationSummary::n_drafted = 0 |
Speculative: tokens proposed (0 = plain).
Definition at line 49 of file generation_summary.h.
| double entropic::GenerationSummary::throughput_tok_s = 0.0 |
token_count / seconds.
Definition at line 48 of file generation_summary.h.
| int entropic::GenerationSummary::token_count = 0 |
Tokens actually generated.
Definition at line 45 of file generation_summary.h.