mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
chore: fix linter error for microagent re-structure (#5987)
This commit is contained in:
parent
e52cdfd70a
commit
15e0a50ff4
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user