-
Notifications
You must be signed in to change notification settings - Fork 43.3k
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
Maximum context length exceeded after get_hyperlinks
#2906
Comments
|
Prompt overflow handling: |
get_hyperlinks
prompt overflow
I had seen the PR and thought this one is a different one and thus opened :) |
get_hyperlinks
prompt overflowget_hyperlinks
We may want to add an offset param to the command, such that offset=0 gets the first N records, offset=1 gets the next N records etc. I think the current LLMs would be able to understand this |
Which Operating System are you using?
MacOS
macOS on M2
Python 3.11.3 (Darwin MacBook-Pro.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 arm64)
Which version of Auto-GPT are you using?
Master (branch)
Git commit hash
b4bd11d708e076c67e426776a76cee8f27d04327
onmaster
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
Install all the dependencies and run as
python -m autogpt -c
Give the prompt
The software connects to Redis, fethes previous session and continues.
The original prompts were:
Goal 1: Please analyze the home page of http://mathrubhumi.com
Goal 2: Provide feedback on the website's design and functionality
Similar issues were reported and fixed in
browse_website
#796Current behavior 😯
Ungracefully crashes complaining maximum context length exceeded
Expected behavior 🤔
If the token length has exceeded an informational message must be printed and gracefully exit. ie, we need better error handling.
Your prompt 📝
Its a continuation of a previous session
Your Logs 📒
Environment:
macOS on M2
Python 3.11.3 (Darwin MacBook-Pro.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 arm64)
Git commit hash
b4bd11d708e076c67e426776a76cee8f27d04327
onmaster
The text was updated successfully, but these errors were encountered: