Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: display token usage #77

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: display token usage #77

wants to merge 4 commits into from

Conversation

fengsh27
Copy link
Collaborator

@fengsh27 fengsh27 commented Jan 6, 2025

Abstract

This submission is to display the token usage. If it reaches server daily token limit (ERROR_BIOSERVER_EXCEEDS_TOKEN_LIMIT), we will restrict further usage and encourage users to provide their OpenAI API key for access.

This PR also fixed #48

fengsh27 and others added 3 commits December 12, 2024 08:51
* display token usage

* adjust sidebar style

* save session id as user name for client authorization

* prompt users to provide openai api key if server community daily token limit reached

* minor changes

---------

Co-authored-by: fengsh <shaohong.feng.78@gmail.com>
@fengsh27 fengsh27 requested a review from slobentanzer January 6, 2025 18:55
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.

Typo in global variable
1 participant