Closed kaijunhan closed 1 month ago
I wonder what version you are using? I can not reproduce your error.
Besides, we are using target_repo_path
in `repo_agent/main.py.
i faced this issues with repoagent 0.0.5. updated your python version and then install repoagent - this will install the latest version of repoagent
Tried this on both windows and macos, got the same error
Traceback (most recent call last): File "/Users/XXX/Library/Python/3.9/bin/repoagent", line 5, in
from repo_agent.main import app
File "/Users/XXX/Library/Python/3.9/lib/python/site-packages/repo_agent/main.py", line 28, in
repo_path: Annotated[str, typer.Option(prompt="Enter the path to your local repository")] = settings.repo_path ,
File "/Users/XXX/Library/Python/3.9/lib/python/site-packages/dynaconf/base.py", line 145, in getattr
value = getattr(self._wrapped, name)
File "/Users/XXX/Library/Python/3.9/lib/python/site-packages/dynaconf/base.py", line 328, in getattribute
return super().getattribute(name)
AttributeError: 'Settings' object has no attribute 'REPO_PATH'