The sidebar counted characters and guessed tokens. The provider reports the real numbers in the final chunk (prompt_tokens/completion_tokens, or input_tokens/output_tokens), so both the streaming accumulator and the one-shot reply parser now keep them, the agent sums them per turn, and the sidebar shows '79 tok (in 344)' instead of an estimate. The estimate stays as the fallback for endpoints that report nothing, and it is still labelled as one.
16 KiB
Executable File
16 KiB
Executable File