Yufan Song 1 год назад
Родитель
Сommit
93b0156f34
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      opendevin/sandbox/sandbox.py

+ 1 - 1
opendevin/sandbox/sandbox.py

@@ -79,7 +79,7 @@ class BackgroundCommand:
                 logs += chunk
             else:
                 break
-        return (logs + last_remains).decode("utf-8")
+        return (logs + last_remains).decode("utf-8", errors="replace")
 
 
 class DockerInteractive: