-
Notifications
You must be signed in to change notification settings - Fork 3
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
Context limit does not work #3
Comments
What is the reason? Lines 25 to 26 in 149a8f3
Lines 214 to 217 in 149a8f3
|
@FreePhoenix888 calculation is wrong, because now only single message content tokens number is calculated. To fix that bug, we have to calculate tokens of the entire context (all messages that will be sent to GPT-4). It will require logic similar to what we have in our ChatGPT package in Deep. Or we can just ignore that issue if we will use actual ChatGPT deep package. As a workaround of that and other issues, I now send only single message to GPT-4 API. |
Should we prefer chatgpt deep package ? |
The text was updated successfully, but these errors were encountered: