Closed
Description
Duplicates
- I have searched the existing issues
Steps to reproduce 🕹
When it goes trough long documentation, it seems to reach a cap
It is trying to summarize a 486620 characters486620 characters text and give this error
I'm not sure i'm reporting this correctly. Pease let me know what i can do to improve futur bug report
Current behavior 😯
Command browse_website returned: Error: This model's maximum context length is 4097 tokens. However, your messages resulted in 5314 tokens. Please reduce the length of the messages.
Expected behavior 🤔
split the text so it can be summarized with 4790 tokens
Your prompt 📝
Welcome to Auto-GPT! Enter the name of your AI and its role below. Entering nothing will load defaults.
Name your AI: For example, 'Entrepreneur-GPT'
AI Name: chartgenius-GPT
chartgenius-GPT here! I am at your service.
Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
chartgenius-GPT is: an ai design to create and test script algorythm for trading view that would trade autonomously to make money with stock trading. You will create and test these algorythm on the past year market to test it's rentability. You need to develop algorythm that will generate as much revenus as possible. once you have the algo created and tested for profitability, you will save it in local with filename script1.txt if you do multiple algo that we can use, name it script2.txt, script3.txt etc
Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
Enter nothing to load defaults, enter nothing when finished.
Goal 1: develop 3 different profitable algorythm
Goal 2:
Using memory of type: LocalCache
CHARTGENIUS-GPT THOUGHTS: Before we begin creating trading algorithms, it's important to understand the basics and have a solid understanding of stock market analysis. Let's first start with a Google search to find introductory resources on stock market analysis.
REASONING: I need to make sure that I have a solid foundation of knowledge on stock market analysis to develop profitable trading algorithms.
PLAN:
- Perform a Google search for introductory resources on stock market analysis
CRITICISM: I should have already had a base knowledge of stock market analysis before beginning to develop trading algorithms. I'll need to make sure I learn quickly to make up for lost time.
NEXT ACTION: COMMAND = google ARGUMENTS = {'input': 'introductory resources for stock market analysis'}
Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for chartgenius-GPT...
Input:y -10
NEXT ACTION: COMMAND = do_nothing ARGUMENTS = {}
SYSTEM: Command do_nothing returned: No action performed.
CHARTGENIUS-GPT THOUGHTS: Now that we have found the Alpha Vantage API, let's check the API documentation and data limitations to make sure it has the necessary data for our testing. We will need to ensure that we are obtaining historical stock data for at least the last year for a few different companies.
REASONING: I need to make sure that the Alpha Vantage API has the necessary data for my momentum strategy
PLAN:
- Browse the Alpha Vantage API documentation
- Find the data limitations and requirements for historical stock data
- Ensure that the API provides data for at least the last year for a few different companies
CRITICISM: I'll need to make sure that the API can provide enough data for our testing purposes. I'll also need to pay attention to any limitations or requirements for using the API to gather historical stock data.
NEXT ACTION: COMMAND = browse_website ARGUMENTS = {'url': 'https://www.alphavantage.co/documentation/', 'question': 'What are the limitations and requirements for obtaining historical stock data?'}
Text length: 486620 characters
Summarizing chunk 1 / 60
Summarizing chunk 2 / 60
Summarizing chunk 3 / 60
Summarizing chunk 4 / 60
Summarizing chunk 5 / 60
Summarizing chunk 6 / 60
Summarizing chunk 7 / 60
Summarizing chunk 8 / 60
Summarizing chunk 9 / 60
Summarizing chunk 10 / 60
Summarizing chunk 11 / 60
Summarizing chunk 12 / 60
Summarizing chunk 13 / 60
Summarizing chunk 14 / 60
Summarizing chunk 15 / 60
Summarizing chunk 16 / 60
Summarizing chunk 17 / 60
Summarizing chunk 18 / 60
Summarizing chunk 19 / 60
Summarizing chunk 20 / 60
Summarizing chunk 21 / 60
Summarizing chunk 22 / 60
Summarizing chunk 23 / 60
Summarizing chunk 24 / 60
Summarizing chunk 25 / 60
Summarizing chunk 26 / 60
Summarizing chunk 27 / 60
Summarizing chunk 28 / 60
Summarizing chunk 29 / 60
Summarizing chunk 30 / 60
Summarizing chunk 31 / 60
Summarizing chunk 32 / 60
Summarizing chunk 33 / 60
Summarizing chunk 34 / 60
Summarizing chunk 35 / 60
Summarizing chunk 36 / 60
Summarizing chunk 37 / 60
Summarizing chunk 38 / 60
Summarizing chunk 39 / 60
Summarizing chunk 40 / 60
Summarizing chunk 41 / 60
Summarizing chunk 42 / 60
Summarizing chunk 43 / 60
Summarizing chunk 44 / 60
Summarizing chunk 45 / 60
Summarizing chunk 46 / 60
Summarizing chunk 47 / 60
Summarizing chunk 48 / 60
Summarizing chunk 49 / 60
Summarizing chunk 50 / 60
Summarizing chunk 51 / 60
Summarizing chunk 52 / 60
Summarizing chunk 53 / 60
Summarizing chunk 54 / 60
Summarizing chunk 55 / 60
Summarizing chunk 56 / 60
Summarizing chunk 57 / 60
Summarizing chunk 58 / 60
Summarizing chunk 59 / 60
Summarizing chunk 60 / 60
Summarized 60 chunks.
SYSTEM: Command browse_website returned: Error: This model's maximum context length is 4097 tokens. However, your messages resulted in 5314 tokens. Please reduce the length of the messages.
CHARTGENIUS-GPT THOUGHTS: Since accessing the Alpha Vantage API may require an API key, let's generate a new API key before we start testing. We'll need the key to access the data through the API.
REASONING: I need to generate a new API key for Alpha Vantage before testing
PLAN:
- Create an account with Alpha Vantage
- Generate a new API key
CRITICISM: I'll need to keep the API key secure and ensure that it is not shared or lost. I'll also need to make sure that the key is entered correctly when accessing the API.
SYSTEM: Command do_nothing returned: No action performed.
\```