Skip to content

Commit

Permalink
Update route.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
berkingurcan committed Feb 15, 2025
1 parent e3e508f commit e85f3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function POST(req: Request) {
});
}

model = 'gpt-4o'
model = 'o1-mini'
} else {
configuration = {
apiKey: process.env.OPENAI_API_KEY
Expand Down Expand Up @@ -131,7 +131,7 @@ export async function POST(req: Request) {
});
}

model = 'gpt-4o'
model = 'o1-mini'
}

const openai = new OpenAI(configuration)
Expand Down

0 comments on commit e85f3ae

Please sign in to comment.