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,
tools: toolsRegistry,
mcpManager: mcpManager,
mcpConfig: cfg.Tools.MCP, // Store only MCP config (minimal dependency)
workspacePath: workspace, // Store workspace path for envFile resolution
mcpConfig: cfg.Tools.MCP, // Store only MCP config (minimal dependency)
workspacePath: workspace, // Store workspace path for envFile resolution
subagentManager: subagentManager,
summarizing: sync.Map{},
}

View file

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