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

Number of tokens allowed for clause sonnet is too low #712

Open
twidi opened this issue Sep 26, 2024 · 0 comments
Open

Number of tokens allowed for clause sonnet is too low #712

twidi opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@twidi
Copy link

twidi commented Sep 26, 2024

What happened?

I added some files in the chat to use with claude 3.5 sonnet and I receive this message:

"The total number of tokens requested 53034 exceeds the maximum limit of 24576 for model claude-3.5-sonnet. Try breaking your request into smaller chunks or summarizing your input."

Sonnet allowing 200k tokens I'm not sure what is wrong or if it's a bug in CodeGPT

When searching online for "24576 tokens" it's seem to be related with llama but here I use Clade 3.5 Sonnet via my CodeGPT account

Relevant log output or stack trace

The total number of tokens requested 53034 exceeds the maximum limit of 24576 for model claude-3.5-sonnet. Try breaking your request into smaller chunks or summarizing your input.

Steps to reproduce

Add enough files in the chat so that the total number of tokens exceed this value

CodeGPT version

2.11.3-241.1

Operating System

Linux

@twidi twidi added the bug Something isn't working label Sep 26, 2024
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

1 participant