Update lollms_advanced.py

This commit is contained in:
Saifeddine ALOUI 2024-07-22 08:59:34 +02:00 committed by GitHub
parent 6dde240af9
commit 4f2bed2e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -312,7 +312,7 @@ async def open_discussion_folder_in_vs_code(request: OpenCodeFolderInVsCodeReque
if os.path.isdir(root_folder):
path = '"'+str(root_folder)+'"'.replace("\\","/")
subprocess.run(['code', path], shell=True)
subprocess.run(['code', '-n', path], shell=True)
return {"status": True, "execution_time": 0}