mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #17108] [CLOSED] feat: merge llama.cpp timing statistics into usage field #11126
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/17108
Author: @drp4rad0x
Created: 9/1/2025
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (2)
2407d9bMerge pull request #16859 from open-webui/dev495628dMerge timings field with usage📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+2 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
OpenWebUI only displays statistics from the usage field. This PR merges the timing data returned by llama.cpp into the usage object to ensure timing statistics are visible in the UI.
Added
Merging llama.cpp timing statistics into usage.
Changed
Updated backend response handling to ensure timing is always included in usage.
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.