Timothy Jaeryang Baek 5 달 전
부모
커밋
b1b2a6d78c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lib/apis/openai/index.ts

+ 1 - 1
src/lib/apis/openai/index.ts

@@ -277,7 +277,7 @@ export const verifyOpenAIConnection = async (
 export const chatCompletion = async (
 	token: string = '',
 	body: object,
-	url: string = OPENAI_API_BASE_URL
+	url: string = `${WEBUI_BASE_URL}/api`
 ): Promise<[Response | null, AbortController]> => {
 	const controller = new AbortController();
 	let error = null;