mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
[PR #5258] [CLOSED] Added token usage #8449
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/5258
Author: @bmv234
Created: 9/7/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
1b8db6aAdded token usage📊 Changes
9 files changed (+365 additions, -42 deletions)
View changed files
📝
.gitignore(+5 -0)📝
backend/.gitignore(+1 -0)📝
backend/apps/openai/main.py(+190 -8)➕
backend/apps/webui/internal/migrations/019_add_token_usage.py(+17 -0)📝
backend/apps/webui/models/users.py(+3 -0)📝
backend/main.py(+54 -0)📝
src/app.html(+31 -0)📝
src/lib/apis/index.ts(+46 -34)📝
src/lib/apis/openai/index.ts(+18 -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
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.