-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Bug]: Private microagents are not loaded in docker container #6201
Comments
I've noticed that the microagents don't seem to be functioning at all any more too. I haven't been using the github functionality so what you're saying makes sense. |
Quick question: Do you mount your private repo into the App container following this? If so, maybe the agent would need to load stuff from https://docs.all-hands.dev/modules/usage/runtimes#connecting-to-your-filesystem |
@xingyaoww I do, I do mount it like this: I just debugged it and checked the logs, and it appeared that repo.md is loaded, but as Knowledge microagend, because I did not specify metadata. Another finding is that What do you think about adding metadata to repo.md example in the documentation? So other developers will likely not make my mistake. I can make a PR. Or maybe we should use |
I do have a PR to update the documentation. #6155 Would this address the issue? |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
Private microagents are not loaded if app is started with instructions and
selected_repository
is not specified.I believe the bug is in get_microagents_from_selected_repo: present working directory is used to load microagents from
.openhands/microagents
ifselected_repository
is not specified, but it is/app
if run in container.OpenHands Installation
Docker command in README
OpenHands Version
0.19
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: