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

Token Count Failure in Claude-3.5-Sonnet #712

Open
nyanyacoffee opened this issue Jan 10, 2025 · 2 comments
Open

Token Count Failure in Claude-3.5-Sonnet #712

nyanyacoffee opened this issue Jan 10, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nyanyacoffee
Copy link

The token count for Claude-3.5-sonnet has failed, remaining at 0, while the GPT-4o model functions normally. The tiktoken_core has been properly installed and the health check shows no issues.

Additionally, during installation, build = "make tiktoken" was configured, and the compiled artifacts can be found. However, the health check still reports that tiktoken_core is missing. Why might this be?

@pidgeon777
Copy link

I also have the same problem (token count equal to 0 when using Claude 3.5 Sonnet).

Also checkhealth reports:

- WARNING tiktoken_core: missing, optional for accurate token counting. See README for installation instructions.

@deathbeam deathbeam added the bug Something isn't working label Jan 26, 2025
@jellydn
Copy link
Contributor

jellydn commented Jan 26, 2025

Thanks all. Just tag @gptlang to follow up on this token count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants