Skip to content

Commit

Permalink
change model to o1
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuaki640 committed Dec 28, 2024
1 parent 03e6096 commit bafe74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ app.post("/chats/:roomId", async (c) => {
c.var.openai,
newMessage,
messageHistory,
{ model: "gpt-4o" }, // MEMO: o1を使いたいが、日本語で返してくれないため、引き続き4oを使う
{ model: "o1-preview" }, // MEMO: o1を使いたいが、日本語で返してくれないため、引き続き4oを使う
);
const resMessage = completion.choices.map<typeof Messages.$inferInsert>(
(c) => ({
Expand Down

0 comments on commit bafe74e

Please sign in to comment.