Closed amainiero closed 1 year ago
I think there are PRs open for this fix https://github.com/Significant-Gravitas/Auto-GPT/pull/2491, https://github.com/Significant-Gravitas/Auto-GPT/pull/2501 So should be resolved soon, till then you can use the stable branch. Thanks :)
New to posting on github so maybe I selected the wrong branch when creating the issue. This occurred on the stable branch,
I checked on the stable branch and looks like the issue is on there as well. Just have to wait for the fix to be merged. Till then, you can use the code changes from the PR and change it locally to get your assistant working. Thanks
Just add "size" on image_gen.py def generate_image_with_dalle(prompt: str, filename: str, size) -> str:
Duplicate of #2645
Duplicate of #2645
Just add "size" on image_gen.py def generate_image_with_dalle(prompt: str, filename: str, size) -> str:
I also had to add filename: str
to generate_image
... I'm on stable
ā ļø Search for existing issues first ā ļø
Which Operating System are you using?
Windows
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce š¹
Have a prompt that results in the assistant trying to generate an image
Current behavior šÆ
SYSTEM: Command generate_image returned: Error: generate_image_with_dalle() takes 2 positional arguments but 3 were given
Expected behavior š¤
Assistant successfully generates an image using dalle by providing the correct number of arguments.
Your prompt š
No response
Your Logs š
THOUGHTS: I will use the 'generate_image' command to create an image of a savings plan that can be used in the course materials. I will also use the 'write_to_file' command to save the image to a file that can be used in the course materials. REASONING: Creating an image of a savings plan will help learners to visualize the concept and understand how to save money. Saving the image to a file will allow it to be easily used in the course materials. PLAN: