From 283d6c753ec4ce1dde042de2ea52cfd1d542e13d Mon Sep 17 00:00:00 2001 From: Keyrxng <106303466+Keyrxng@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:32:11 +0100 Subject: [PATCH] chore: fix typo --- src/handlers/ask-gpt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/ask-gpt.ts b/src/handlers/ask-gpt.ts index 299cfeb..fbf9209 100644 --- a/src/handlers/ask-gpt.ts +++ b/src/handlers/ask-gpt.ts @@ -23,7 +23,7 @@ export async function askGpt(context: Context, formattedChat: string) { const openAi = new OpenAI({ apiKey: OPENAI_API_KEY, - ...(openAiBaseUrl && { baseUrl: openAiBaseUrl }), + ...(openAiBaseUrl && { baseURL: openAiBaseUrl }), }); const chat = createChatHistory(formattedChat);