diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-07-09 03:26:52 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-07-09 03:26:52 +0000 |
| commit | 4ac7894cd621300f8663022aff764e48c8b71d3e (patch) | |
| tree | 1aa89cd450acf0c291e9582c6cb06e34292b2101 /internal/executor/agentmcp.go | |
| parent | 8068dca4641393c03aec12253e7c1195943727f1 (diff) | |
style: gofmt internal/executor and internal/agentloop
Task 2 of the task-acceptance-criteria plan copied the plan
document's own misaligned struct-literal text verbatim without
running gofmt afterward, newly breaking gofmt compliance on
tools.go/agentmcp.go; also fixes pre-existing unrelated misalignment
in channel.go/channel_test.go while touching the same files.
Diffstat (limited to 'internal/executor/agentmcp.go')
| -rw-r--r-- | internal/executor/agentmcp.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/executor/agentmcp.go b/internal/executor/agentmcp.go index a9a195d..9f0cb7e 100644 --- a/internal/executor/agentmcp.go +++ b/internal/executor/agentmcp.go @@ -154,13 +154,13 @@ func newAgentServer(ch AgentChannel) *mcp.Server { Description: "Create a child task to be executed separately. Use this to break large work into focused pieces, then finish your turn.", }, func(ctx context.Context, _ *mcp.CallToolRequest, in spawnSubtaskInput) (*mcp.CallToolResult, any, error) { id, err := ch.SpawnSubtask(ctx, SubtaskSpec{ - Name: in.Name, - Instructions: in.Instructions, - Model: in.Model, - MaxBudgetUSD: in.MaxBudgetUSD, - Role: in.Role, - DependsOn: in.DependsOn, - AcceptanceCriteria: in.AcceptanceCriteria, + Name: in.Name, + Instructions: in.Instructions, + Model: in.Model, + MaxBudgetUSD: in.MaxBudgetUSD, + Role: in.Role, + DependsOn: in.DependsOn, + AcceptanceCriteria: in.AcceptanceCriteria, }) if err != nil { return nil, nil, err |
