Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Home Page:https://agpt.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error loading ASGI app. Could not import module "forge.app".

fxgeoffrey opened this issue · comments

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

MacOS

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-4

Which area covers your issue best?

Installation and setup

Describe your issue.

when I run agent start my_agent, it throws following error:

2024-06-04 18:43:54,460 INFO Agent server starting on http://localhost:8000
ERROR: Error loading ASGI app. Could not import module "forge.app".

I checked the source codes , but seems that there is no app.py file in my agent directories.

Upload Activity Log Content

No response

Upload Error Log Content

No response

Anyone meet this error?

Anyone meet this error?

I'm here too. Going to assume it's how I'm running the agent server at this point.

+1

Hi everyone, the forge is undergoing a refactor atm. It looks like this was missed @kcze

Thanks .
May I ask when this issue could be fixed ?

In progress, should be merged in a few days: #7196

Is the issue solved? I still had the error when I first setup today

Fixed! Thanks for your patience 🎉

Fixed! Thanks for your patience 🎉

Hi, I still faced this error, what could be the problem?
2024-06-12 12:38:30,482 INFO Agent server starting on http://localhost:8000
ERROR: Error loading ASGI app. Could not import module "forge.app".

@dhuang329 Please try re-downloading (or cloning again) AutoGPT repository. If you created a custom agent you need to create a new one after that.

@dhuang329 Please try re-downloading (or cloning again) AutoGPT repository. If you created a custom agent you need to create a new one after that.

Hi, sorry to bother again! I deleted the whole folder and cloned AutoGPT again. Then I repeated these steps: added path environment variable so it can recognize the poetry package, changed the path of agbenchmark in pyproject.toml so it could find agbenchmark, set up OpenAI API key in .env. The error still happened. My device is a M1 Pro with macos Ventura 13.1.