diff options
| author | Fuad <[email protected]> | 2025-04-27 06:46:22 +0300 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-27 13:46:59 +0200 |
| commit | f12386e558e1479672be299e4e006f7d67aa233e (patch) | |
| tree | 6846839ab48cc0e65556b6a54331c1bb8892270d /internal/llm/tools/shell | |
| parent | 94aeb7b7fe86b2969c5ff99d88ede7071025d770 (diff) | |
| download | opencode-f12386e558e1479672be299e4e006f7d67aa233e.tar.gz opencode-f12386e558e1479672be299e4e006f7d67aa233e.zip | |
use provided workingg dir
Diffstat (limited to 'internal/llm/tools/shell')
| -rw-r--r-- | internal/llm/tools/shell/shell.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/llm/tools/shell/shell.go b/internal/llm/tools/shell/shell.go index 08d8a986b..10fa3779f 100644 --- a/internal/llm/tools/shell/shell.go +++ b/internal/llm/tools/shell/shell.go @@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell { }) if shellInstance == nil || !shellInstance.isAlive { - shellInstance = newPersistentShell(shellInstance.cwd) + shellInstance = newPersistentShell(workingDir) } return shellInstance |
