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

ModuleNotFoundError: No module named 'XAgent.agent.tool_agent' #2

Open
AtsuMiyai opened this issue Jan 20, 2025 · 1 comment
Open

Comments

@AtsuMiyai
Copy link

I tried python dev_test.py --tool python --mode dev --list_source atkins, but encounterd ModuleNotFoundError: No module named 'XAgent.agent.tool_agent'.

I think that tool_agent folder should be in the XAgent/agent, but no folder.

Could you provide tool_agent folder??

@TheWayLost
Copy link
Collaborator

Just delete this line: https://github.com/gersteinlab/chemagent/blob/main/XAgent/agent/__init__.py#L3

from .tool_agent import ToolAgent

And things should work fine. (Since the ability to use python is directly supported in SimpleAgent in this version.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants