style: format code with gofmt

This commit is contained in:
yuchou87 2026-02-19 18:53:24 +08:00
parent e38364b08a
commit 47533a00cd
3 changed files with 11 additions and 11 deletions

View file

@ -161,8 +161,8 @@ func NewAgentLoop(cfg *config.Config, msgBus *bus.MessageBus, provider providers
contextBuilder: contextBuilder, contextBuilder: contextBuilder,
tools: toolsRegistry, tools: toolsRegistry,
mcpManager: mcpManager, mcpManager: mcpManager,
mcpConfig: cfg.Tools.MCP, // Store only MCP config (minimal dependency) mcpConfig: cfg.Tools.MCP, // Store only MCP config (minimal dependency)
workspacePath: workspace, // Store workspace path for envFile resolution workspacePath: workspace, // Store workspace path for envFile resolution
subagentManager: subagentManager, subagentManager: subagentManager,
summarizing: sync.Map{}, summarizing: sync.Map{},
} }

View file

@ -39,9 +39,9 @@ func TestNewMCPTool(t *testing.T) {
"type": "string", "type": "string",
"description": "Test input", "description": "Test input",
}, },
},
}, },
} },
}
mcpTool := NewMCPTool(manager, "test_server", tool) mcpTool := NewMCPTool(manager, "test_server", tool)