chore: 为部分文件添加注释

This commit is contained in:
2026-10-05 21:09:39 +08:00
parent 4811a2d48a
commit adf5fdb6f4
5 changed files with 294 additions and 101 deletions

View File

@@ -57,7 +57,14 @@ func Build(ctx context.Context, appCfg config.Application, logger *zap.Logger) (
agentFactory.UseToolRouter(toolRouter)
runnerFactory := agentFactory
armoryFactory := factory.NewDefaultFactory(modelProvider, mcpFactory, skillFactory, agentFactory, runnerFactory, registry)
armoryFactory := factory.NewDefaultFactory(
modelProvider,
mcpFactory,
skillFactory,
agentFactory,
runnerFactory,
registry,
)
armoryService := armory.NewService(armoryFactory.ArmoryStrategyHandler())
if err := armoryService.AcceptArmoryAgents(ctx, tables); err != nil {