on main help sign in
use provided workingg dir
f12386eFuad
internal/llm/tools/shell/shell.go+1−1
@@ -48,7 +48,7 @@ func GetPersistentShell(workingDir string) *PersistentShell {
48 })
48 })
49
49
50 if shellInstance == nil || !shellInstance.isAlive {
50 if shellInstance == nil || !shellInstance.isAlive {
51− shellInstance = newPersistentShell(shellInstance.cwd)
51+ shellInstance = newPersistentShell(workingDir)
52 }
52 }
53
53
54 return shellInstance
54 return shellInstance