Skip to content

Commit 3cb54fd

Browse files
authored
[BUGFIX] Update Dell Pro AI Studio Default URL (#4433)
Update DPAISOptions component and constants to use new OpenAI endpoint (#4432) - Changed placeholder in DPAISOptions component to reflect updated endpoint. - Updated DPAIS_COMMON_URLS in constants to include '/openai' in URLs.
1 parent 9466f67 commit 3cb54fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

frontend/src/components/LLMSelection/DPAISOptions/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function DellProAIStudioOptions({
9292
type="url"
9393
name="DellProAiStudioBasePath"
9494
className="border-none bg-theme-settings-input-bg text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
95-
placeholder="http://localhost:8553/v1"
95+
placeholder="http://localhost:8553/v1/openai"
9696
value={basePathValue.value}
9797
required={true}
9898
autoComplete="off"

frontend/src/utils/constants.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export const LOCALAI_COMMON_URLS = [
3838
];
3939

4040
export const DPAIS_COMMON_URLS = [
41-
"http://127.0.0.1:8553/v1",
42-
"http://0.0.0.0:8553/v1",
43-
"http://localhost:8553/v1",
44-
"http://host.docker.internal:8553/v1",
41+
"http://127.0.0.1:8553/v1/openai",
42+
"http://0.0.0.0:8553/v1/openai",
43+
"http://localhost:8553/v1/openai",
44+
"http://host.docker.internal:8553/v1/openai",
4545
];
4646

4747
export const NVIDIA_NIM_COMMON_URLS = [

0 commit comments

Comments
 (0)