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

Adding prompt token count #384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ahmed-Ali
Copy link
Contributor

@Ahmed-Ali Ahmed-Ali commented Jul 1, 2023

First off, thank you for all the efforts getting such nice and feature rich app!
Second, I have been using this project for a while and added couple of small features to it.
One of them is that I found handy when dealing with lengthy prompts is some token counting and cost calculation.
Which is exactly what I added in this PR (you can see on the top left corner above the prompt text area)
Screenshot 2023-07-01 at 22 44 59

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.

1 participant