From e5f56308c5fd87695278682b2a36ca60df0db863 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 25 Aug 2023 13:38:41 -0700 Subject: fix: :bug: ssh compatibility by reading from vscode.workspace.fs --- extension/react-app/src/pages/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/react-app/src/pages') diff --git a/extension/react-app/src/pages/settings.tsx b/extension/react-app/src/pages/settings.tsx index 8fd91ff5..8bb9b5d2 100644 --- a/extension/react-app/src/pages/settings.tsx +++ b/extension/react-app/src/pages/settings.tsx @@ -94,7 +94,7 @@ function Settings() { const temperature = formMethods.watch("temperature"); // const models = formMethods.watch("models"); - if (systemMessage) client.setSystemMessage(systemMessage); + client.setSystemMessage(systemMessage || ""); if (temperature) client.setTemperature(temperature); // if (models) { -- cgit v1.2.3-70-g09d2