Skip to content

Commit 728a2b4

Browse files
committed
Update AI PRO model
1 parent 62f964e commit 728a2b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/discussion/eventHandlers/onMessageCreated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ async function createAiReply(message: DiscussionMessage) {
147147
).filter(isDefined);
148148

149149
const chatCompletion = await openai.chat.completions.create({
150-
model: aiMentioned === "@aipro" ? "gpt-4-turbo" : "gpt-3.5-turbo",
150+
model: aiMentioned === "@aipro" ? "gpt-4o" : "gpt-3.5-turbo",
151151
messages: [
152152
...chatHistory,
153153
{ role: "assistant", content: prompt }, // Using the constructed prompt as the assistant's input

0 commit comments

Comments
 (0)