on main help sign in
fix: Update erro msg for bash tool (#803)
commit117c6b6d5679d7ded452c213683c7b627308760d authorSainadh Devireddy <sainadh976@gmail.com> dateSat 16 Aug 2025, 07:54 (1 year ago) parent410914d
1 file changed+1−1
internal/llm/tools/bash.go+1−1
internal/llm/tools/bash.go+1−1
@@ -366,7 +366,7 @@ func (b *bashTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error)
366366
367367 sessionID, messageID := GetContextValues(ctx)
368368 if sessionID == "" || messageID == "" {
369− return ToolResponse{}, fmt.Errorf("session ID and message ID are required for creating a new file")
369+ return ToolResponse{}, fmt.Errorf("session ID and message ID are required for executing shell command")
370370 }
371371 if !isSafeReadOnly {
372372 p := b.permissions.Request(