Skip to content
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

Fixed import error for AutoGPT e.g. from langchain.experimental.auton… #5101

Merged
merged 2 commits into from
May 22, 2023

Conversation

ankitarya1019
Copy link
Contributor

…omous_agents import AutoGPT

Fix: AutoGPT import statement error in autonomous_agents marathon times notebook

from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT results in an import error as AutoGPT is not defined in the init.py file
https://python.langchain.com/en/latest/use_cases/autonomous_agents/marathon_times.html

An Alternate, way would be to be directly update the import statement to be from langchain.experimental import AutoGPT

Fixes # (issue)

Before submitting

Who can review?

Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

@hwchase17 hwchase17 added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label May 22, 2023
@dev2049
Copy link
Contributor

dev2049 commented May 22, 2023

thanks @ankitarya1019!

@dev2049 dev2049 merged commit 5b2b436 into langchain-ai:master May 22, 2023
12 checks passed
@ankitarya1019 ankitarya1019 deleted the auto-gpt-import branch May 23, 2023 00:22
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PR looks good. Use to confirm that a PR is ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants