mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
chore: fix linter error for microagent re-structure (#5987)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user