Explorar el Código

use provided workingg dir

Fuad hace 1 año
padre
commit
f12386e558
Se han modificado 1 ficheros con 1 adiciones y 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