Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit f12386e

Browse files
AvicennaJrkujtimiihoxha
authored andcommitted
use provided workingg dir
1 parent 94aeb7b commit f12386e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/llm/tools/shell/shell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell {
4848
})
4949

5050
if shellInstance == nil || !shellInstance.isAlive {
51-
shellInstance = newPersistentShell(shellInstance.cwd)
51+
shellInstance = newPersistentShell(workingDir)
5252
}
5353

5454
return shellInstance

0 commit comments

Comments
 (0)