-
Notifications
You must be signed in to change notification settings - Fork 777
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
Program crashes when it reaches the token limit. #117
Comments
Nice catch! I'll implement a bug fix for this. |
I also having the same issue |
Added some mitigations in the latest commit. Will try to find a more consistent way of token compression. |
Awesome. I encountered this issue previously despite the recent commits. I haven't dug into source much but could we add a try/except block with a return function true/false to test if an adequate response came through? PREV:: Opening a new session with the previous log file did not matter as a new session was created and the log file appended to the selected file. I could take a look and add a mitigation to a pull request if required. :) |
Describe the bug
Every time i reach the token limit it crashes. is there any way round this?
To Reproduce
Steps to reproduce the behavior:
Version
Im using api 3.5-turbo, and it is pentestgpt-0.8.0
Full Error Message
The text was updated successfully, but these errors were encountered: