diff --git a/frontend/src/components/SettingsDialog.tsx b/frontend/src/components/SettingsDialog.tsx index fc2ac03..d0d0a54 100644 --- a/frontend/src/components/SettingsDialog.tsx +++ b/frontend/src/components/SettingsDialog.tsx @@ -109,24 +109,28 @@ function SettingsDialog({ settings, setSettings }: Props) { } /> - - OpenAI Base URL (optional) - - Replace with a proxy URL if you don't want to use the default. - - + {!IS_RUNNING_ON_CLOUD && ( + <> + + OpenAI Base URL (optional) + + Replace with a proxy URL if you don't want to use the default. + + - - setSettings((s) => ({ - ...s, - openAiBaseURL: e.target.value, - })) - } - /> + + setSettings((s) => ({ + ...s, + openAiBaseURL: e.target.value, + })) + } + /> + > + )}