We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f964e commit 728a2b4Copy full SHA for 728a2b4
functions/src/discussion/eventHandlers/onMessageCreated.ts
@@ -147,7 +147,7 @@ async function createAiReply(message: DiscussionMessage) {
147
).filter(isDefined);
148
149
const chatCompletion = await openai.chat.completions.create({
150
- model: aiMentioned === "@aipro" ? "gpt-4-turbo" : "gpt-3.5-turbo",
+ model: aiMentioned === "@aipro" ? "gpt-4o" : "gpt-3.5-turbo",
151
messages: [
152
...chatHistory,
153
{ role: "assistant", content: prompt }, // Using the constructed prompt as the assistant's input
0 commit comments