diff --git a/packages/gpt-runner-vscode/package.json b/packages/gpt-runner-vscode/package.json index cd03a90..6a99eb4 100644 --- a/packages/gpt-runner-vscode/package.json +++ b/packages/gpt-runner-vscode/package.json @@ -119,4 +119,4 @@ "uuid": "^9.0.0", "wait-port": "^1.0.4" } -} +} \ No newline at end of file diff --git a/packages/gpt-runner-web/client/src/pages/chat/index.tsx b/packages/gpt-runner-web/client/src/pages/chat/index.tsx index f1b3af7..dbf0f7e 100644 --- a/packages/gpt-runner-web/client/src/pages/chat/index.tsx +++ b/packages/gpt-runner-web/client/src/pages/chat/index.tsx @@ -196,7 +196,7 @@ const Chat: FC = memo(() => { }, ] - if (IS_SAFE) { + if (IS_SAFE && !getGlobalConfig().editFileInIde) { mobileTabItems.push( { id: MobileTabId.FileEditor, @@ -236,7 +236,7 @@ const Chat: FC = memo(() => { {renderSidebar()} - {IS_SAFE + {IS_SAFE && !getGlobalConfig().editFileInIde ?