We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
codeact_agent
What problem or use case are you trying to solve?
In codeact_agent.py, currently all microagents that have prompts in the micro directory are enabled by default:
codeact_agent.py
micro
OpenHands/openhands/agenthub/codeact_agent/codeact_agent.py
Lines 105 to 108 in 0633a99
OpenHands/openhands/utils/prompt.py
Lines 37 to 43 in 0633a99
Describe the UX of the solution you'd like
It would be better if we could customize (1) whether to use microagents, (2) which microagents to exclude.
We could add arguments to the AgentConfig that is passed in to CodeActAgent:
use_microagents: bool
disabled_microagents: list[str]
Do you have thoughts on the technical implementation?
If use_microagents is set to False, we can simply set microagents_dir in PromptManager to None.
use_microagents
microagents_dir
PromptManager
None
Additional context
Discussion on slack: https://openhands-ai.slack.com/archives/C07V9BMGHH6/p1731413460742369
The text was updated successfully, but these errors were encountered:
OpenHands started fixing the issue! You can monitor the progress here.
Sorry, something went wrong.
A potential fix has been generated and a draft PR #4932 has been created. Please review the changes.
Fix issue #4931: Make use of microagents configurable in `codeact_age…
b54724a
…nt` (#4932) Co-authored-by: Graham Neubig <[email protected]>
neubig
Successfully merging a pull request may close this issue.
What problem or use case are you trying to solve?
In
codeact_agent.py
, currently all microagents that have prompts in themicro
directory are enabled by default:OpenHands/openhands/agenthub/codeact_agent/codeact_agent.py
Lines 105 to 108 in 0633a99
OpenHands/openhands/utils/prompt.py
Lines 37 to 43 in 0633a99
Describe the UX of the solution you'd like
It would be better if we could customize (1) whether to use microagents, (2) which microagents to exclude.
We could add arguments to the AgentConfig that is passed in to CodeActAgent:
use_microagents: bool
whether to use at alldisabled_microagents: list[str]
a list of microagents to disableDo you have thoughts on the technical implementation?
If
use_microagents
is set to False, we can simply setmicroagents_dir
inPromptManager
toNone
.Additional context
Discussion on slack: https://openhands-ai.slack.com/archives/C07V9BMGHH6/p1731413460742369
The text was updated successfully, but these errors were encountered: