Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 26, 2024
1 parent d8bd296 commit 283d6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/ask-gpt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 283d6c7

Please sign in to comment.