[PR #9655] [CLOSED] Fix - Usage statistics returned by the OpenAI compatible endpoint #45451

Closed
opened 2026-04-29 19:49:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9655
Author: @Seniorsimo
Created: 2/8/2025
Status: Closed

Base: devHead: main


📝 Commits (1)

  • c09497a Fixed 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

Fixed

  • Usage statistics returned by OpenAI endpoint

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/9655 **Author:** [@Seniorsimo](https://github.com/Seniorsimo) **Created:** 2/8/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (1) - [`c09497a`](https://github.com/open-webui/open-webui/commit/c09497a77cf4e9a968583ae9cfcef13aaace3f62) Fixed the usage statistics returned by the OpenAI compatible endpoint to reflect the acutal OpenAI standard ### 📊 Changes **1 file changed** (+15 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/response.py` (+15 -78) </details> ### 📄 Description # Changelog Entry ### Description - Fixed the usage statistics returned by the OpenAI compatible endpoint to reflect the acutal OpenAI standard as from their actual documentation: https://platform.openai.com/docs/api-reference/chat/create ### Fixed - Usage statistics returned by OpenAI endpoint --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 19:49:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#45451