diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index 217943744..29d575fc4 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -1999,7 +1999,6 @@ func (al *AgentLoop) buildCommandsRuntime(agent *AgentInstance, opts *processOpt agent.Model = value return oldModel, nil } - } return rt } diff --git a/pkg/agent/loop_test.go b/pkg/agent/loop_test.go index cdf2bacda..d8df0c543 100644 --- a/pkg/agent/loop_test.go +++ b/pkg/agent/loop_test.go @@ -871,7 +871,6 @@ func TestHandleCdCommand_SymlinkEscape(t *testing.T) { } } - func TestTargetReasoningChannelID_AllChannels(t *testing.T) { tmpDir, err := os.MkdirTemp("", "agent-test-*") if err != nil { diff --git a/pkg/commands/cmd_mode.go b/pkg/commands/cmd_mode.go index 4631392c4..34c787401 100644 --- a/pkg/commands/cmd_mode.go +++ b/pkg/commands/cmd_mode.go @@ -51,7 +51,9 @@ func hipicoCmnd() Definition { } } if msg == "" { - return req.Reply("šŸ‘‹ Hi~ What can I help you with?\n\nšŸ’” Examples:\n /hipico what files are in the working directory?\n /hipico what time is it now?\n /hipico what's the progress on the previous task?") + return req.Reply( + "šŸ‘‹ Hi~ What can I help you with?\n\nšŸ’” Examples:\n /hipico what files are in the working directory?\n /hipico what time is it now?\n /hipico what's the progress on the previous task?", + ) } reply, err := rt.RunOneShot(ctx, msg) if err != nil { diff --git a/pkg/commands/runtime.go b/pkg/commands/runtime.go index 51df0b5f5..a817d294f 100644 --- a/pkg/commands/runtime.go +++ b/pkg/commands/runtime.go @@ -24,7 +24,7 @@ type Runtime struct { SetModePico func() string // switches to pico mode, returns status string // Working directory (session-scoped) - GetWorkDir func() string // current working directory for this session + GetWorkDir func() string // current working directory for this session GetWorkspace func() string // agent workspace root // File editing — delegates to the loop's handleEditCommand with proper path resolution