Skip to content

feat(serve): report timings during prompt progress - #163

Open
hecrj wants to merge 1 commit into
Neroued:masterfrom
hecrj:serve-progress-timings
Open

feat(serve): report timings during prompt progress#163
hecrj wants to merge 1 commit into
Neroued:masterfrom
hecrj:serve-progress-timings

Conversation

@hecrj

@hecrj hecrj commented Sep 2, 2026

Copy link
Copy Markdown

Attaches the llama.cpp-compatible timings snapshot to Chat Completions prompt-progress chunks when timings_per_token is enabled, alongside the existing prompt_progress payload.

Attach the llama.cpp-compatible timings snapshot to Chat Completions
prompt-progress chunks when timings_per_token is enabled, alongside the
existing prompt_progress payload. While the prompt is still being
processed the snapshot is prompt-only: the predicted fields stay zero,
prompt_ms is the wall time elapsed since committed admission, and the
prompt rates span the processed suffix rather than the complete prompt.
The Engine PromptProgress event already carries the required elapsed
clock, so the change stays inside the serving adapter. Update the
serving documentation and schema tests together with the protocol
behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant