style: format code with gofmt
This commit is contained in:
parent
e38364b08a
commit
47533a00cd
3 changed files with 11 additions and 11 deletions
|
|
@ -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{},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue