Explorar o código

use provided workingg dir

Fuad hai 11 meses
pai
achega
f12386e558
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/llm/tools/shell/shell.go

+ 1 - 1
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