mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #9655] [CLOSED] Fix - Usage statistics returned by the OpenAI compatible endpoint #45451
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/9655
Author: @Seniorsimo
Created: 2/8/2025
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (1)
c09497aFixed the usage statistics returned by the OpenAI compatible endpoint to reflect the acutal OpenAI standard📊 Changes
1 file changed (+15 additions, -78 deletions)
View changed files
📝
backend/open_webui/utils/response.py(+15 -78)📄 Description
Changelog Entry
Description
https://platform.openai.com/docs/api-reference/chat/create
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.