This commit is contained in:
Timothy Jaeryang Baek 2024-12-20 18:31:20 -08:00
parent e9cb6e4714
commit b1b2a6d78c

View File

@ -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;