-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Agent doesn't get past "Thinking..." and constant GET requests in backend #165
Comments
me too...was working yesterday and now it's not at all. just hanging on thinking |
can u share the goals and tools used |
Yeah sharing goals and tools would help us replicate and find the issue |
I'm having the same issue. My goal was asking it to create a presentation on how generative AI can improve efficiency and ROI for companies in a particular industry. The tools were the basic defaults (Google search, Read file, and Write file. I noticed that IP 172.18.0.1 was being hammered, so I did a lookup on it and saw it is identified as a BOGON network. So I turned off blocking of BOGONs and private networks in my firewall. Unfortunately, that didn't solve the problem. |
Same issue. Noticed this in the logs: "The index exceeds the project quota of 1 pods by 1 pods. Upgrade your account or change the project settings to increase the quota."
|
i am having this issue now repro goals & tools:
Tools assigned: hope this helps. |
Fixing the Pinecone config solved the issue for me. |
Where did you fix it? There doesn't seem to be a pinecone conf file and config.yaml only seems to have config options for redis and S3. |
It's in the config.yaml Also take a look at the agent_executor.py to change the Pinecone index as described in the README. Or name your index "super-agent-index1" |
Well spotted! I checked the readme but it just looked like advertising for the project and every link led to the project website. I didn't notice the wall of text at the bottom with the installation tips (thought it was just legal boilerplate.) |
Could you help me make this fix as I am also stuck in the thinking loop. What needs to be fixed in the config.yaml? Also, I can't locate the agent_executor.py file. Thank you. |
Actually, the problem I was having wasn't caused by any of this. It turns out, the only issue was that GPT4 doesn't seem to be supported, so I had to switch to GPT3.5-turbo. <What needs to be fixed in the config.yaml?> The agent_executor.py file is in the SuperAGI/superagi/jobs directory. The 'memory' entry should be: memory = VectorFactory.get_vector_storage("PineCone", "super-agent-index1", OpenAiEmbedding()) as long as your index name is "super-agent-index1" (which mine was). For me, everything seemed correct, but I still got the endless 'thinking' loop. Then I noticed it couldn't find ChatGPT4 in the logs. That was a headsmack moment. Changing it to 3.5-turbo fixed the problem. |
Yes indeed. 3.5 Turbo is working. It's still running but I did see these two messages: "Unknown tool 'WriteFile'. Please refer to the 'TOOLS' list for available tools and only respond in the specified JSON format." and "Unknown tool 'ReadFile'. Please refer to the 'TOOLS' list for available tools and only respond in the specified JSON format." Separately, how do you kill a previous Run? My GPT-4 test is still grinding in my list. |
To the left of the green "Run Again" button, there's a little three-dot menu (that kind of blends into the grey of the window). It has Pause and Delete options. I found I needed to Pause the run before I Deleted it, or the options become unresponsive. |
It's super easy to miss the ellipses. I have a pause and resume, but no delete. Pause worked, so that's a victory. Now just trying to find whether there was actually a file written with the result. I received the write/read errors above. I can't seem to find anything. I do have read and write in my listed tools. Is there anything to change in read_file.py or write_file.py? |
I'll need to check that myself when I get back to my PC. All I got for output was the AI generating bad JSON, then beating itself up for the bad JSON and promising to fix it, then creating more bad JSON, over and over and over. |
this worked for me! you're the real MVP. they should make sure to tell folks to change their index name to super-agent-index1 on the front page cuz im sure many will have this stuck on thinking problem |
We have removed the default dependency on Pinecone. Please pull main again and try. It'll work |
It doesnt get past thinking for me too. It shows some set ups from 3 h ago and just thinks. I tried to close both docker and visual coder and nothing changed, it still spat out the same and started "thinking"... |
I'm having the same issue. "Thinking..." forever and GET requests in backend. There is nothing interesting in Docker logs. These are my Goals and Tools: Tbh, I don't know what this can be used for, so I put in the first idea that popped into my mind (maybe a showcase of how this tool can be used and what it can be used for would be beneficial, or maybe I'm just too new to all this). I think the issue is that I didn't create an index in Pinecone, because README doesn't note that an index should be set up (and I thought that the index will be set up automatically by I would set up an index, but I don't know what configuration it should have (how many dimensions and what metric). |
I just tried setting up an index with 1 dimension and cosine metric and as soon as the index was set up by Pinecone, the agent started working! |
Try uncommenting the "openai.api_key = get_config("OPENAI_API_KEY")" in chat_completion method in openai.py |
Are you still facing the same issue? |
@aodrasa ? |
Changing index name did not work for me. But changing tu gpt 3.5 turbo solved this for me. But even with gpt3.5, it gave me the same initial prompt 3 times, then it got to its work. |
I am also struggeling with this issue. I've tried both changing to GPT3.5-turbo and making sure Pinecone environment and API key is set without success. I see this in my log
|
Reverted the commit, and it works for me! |
@gaurav274 |
Hoping someone can help with this. Have tried with new agents, new goals and even after letting it go for what's been about 15 minutes now, I constantly get the same result.
All variables in the config file are correct as I've successfully ran similar processes with Auto-GPT and BabyAGI in the past.
The text was updated successfully, but these errors were encountered: