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

This commit is contained in:
Xingyao Wang 2025-01-02 18:02:32 -05:00 committed by GitHub
parent e52cdfd70a
commit 15e0a50ff4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(