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

Track token use with local LLMs #580

Closed
cpacker opened this issue Dec 5, 2023 · 0 comments · Fixed by #585
Closed

Track token use with local LLMs #580

cpacker opened this issue Dec 5, 2023 · 0 comments · Fixed by #585
Labels
bug Something isn't working local-llm

Comments

@cpacker
Copy link
Collaborator

cpacker commented Dec 5, 2023

Describe the bug

Token stats aren't being tracked properly atm with local LLMs. Need to add this functionality for memory warning purposes: https://github.com/cpacker/MemGPT/blob/main/memgpt/local_llm/chat_completion_proxy.py#L133-L137

@cpacker cpacker added bug Something isn't working local-llm labels Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working local-llm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant