diff options
| author | adamdottv <[email protected]> | 2025-05-08 12:03:59 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-08 12:03:59 -0500 |
| commit | f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755 (patch) | |
| tree | bd34e77a07516735a220c210d4930fbe2132a63b /internal/llm/tools | |
| parent | e35ea2d448d1a3c9cf0a6fba1318e522fc61d1eb (diff) | |
| download | opencode-f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755.tar.gz opencode-f41b7bbd0a0cc731fd7c471b7ee8b26f14a21755.zip | |
chore: refactoring status updates
Diffstat (limited to 'internal/llm/tools')
| -rw-r--r-- | internal/llm/tools/shell/shell.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/llm/tools/shell/shell.go b/internal/llm/tools/shell/shell.go index 668a69fa1..21c283668 100644 --- a/internal/llm/tools/shell/shell.go +++ b/internal/llm/tools/shell/shell.go @@ -12,7 +12,7 @@ import ( "syscall" "time" - "github.com/opencode-ai/opencode/internal/logging" + "github.com/opencode-ai/opencode/internal/status" ) type PersistentShell struct { @@ -101,7 +101,7 @@ func newPersistentShell(cwd string) *PersistentShell { go func() { err := cmd.Wait() if err != nil { - logging.ErrorPersist(fmt.Sprintf("Shell process exited with error: %v", err)) + status.Error(fmt.Sprintf("Shell process exited with error: %v", err)) } shell.isAlive = false close(shell.commandQueue) |
