Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore: fix linter error for microagent re-structure (#5987)

Xingyao Wang15e0a50ff434
diff --git a/openhands/core/setup.py b/openhands/core/setup.py
index e8d5de78be..2888847801 100644
--- a/openhands/core/setup.py
+++ b/openhands/core/setup.py
@@ -66,8 +66,8 @@ def create_agent(runtime: Runtime, config: AppConfig) -> Agent:
config=agent_config,
)
if agent.prompt_manager:
- microagents = runtime.get_custom_microagents(None)
- agent.prompt_manager.load_microagent_files(microagents)
+ microagents = runtime.get_microagents_from_selected_repo(None)
+ agent.prompt_manager.load_microagents(microagents)
if config.security.security_analyzer:
options.SecurityAnalyzers.get(