-
Notifications
You must be signed in to change notification settings - Fork 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
[Bug]: AttributeError: 'NoneType' object has no attribute 'steps' #996
Comments
Thanks for reporting this @niklasfink. Which LLM is that? It looks like the LLM was giving inorrect (invalid JSON) response. Pythagora retried twice, but failed parsing the JSON all three times (if you look at the output you pasted, none of the tree is valid JSON, which leads me to believe it's some local model that has trouble specifying the correct JSON), and just return None. So I don't think the cause of the error is in Pythagora, but I'd still like to keep this bug open as we should handle that edge case in a more graceful way. |
Hi @senko, it’s GPT-4o on Azure OpenAI. |
Hey, can you tell me how you got it to work with azure open ai api? |
using openai api with gpt3-turbo |
Version
VisualStudio Code extension
Operating System
MacOS
What happened?
Pythagora abruptly stopped with the following error:
Using Pythagora v0.2.0 / GPT Pilot v0.2.1. There was no error from the LLM API.
Just before that, the Developer Agent was returning (I escaped with \ ):
The text was updated successfully, but these errors were encountered: