Skip to content

Commit daf833d

Browse files
authored
switch from gpt-4o-mini to gpt-4o-
1 parent 1fc6d45 commit daf833d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/api/repo/[graph]/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export async function GET(request: NextRequest, { params }: { params: { graph: s
238238

239239
// Construct conversation body
240240
let body: ChatCompletionCreateParams = {
241-
model: "gpt-4o-mini",
241+
model: "gpt-4o",
242242
messages: messages,
243243
tools: tools,
244244
tool_choice: "auto",
@@ -286,7 +286,7 @@ export async function GET(request: NextRequest, { params }: { params: { graph: s
286286

287287
messages = [{ "role": "system", "content": prompt }];
288288
response = await openai.chat.completions.create({
289-
"model": "gpt-4o-mini",
289+
"model": "gpt-4o",
290290
"messages": messages,
291291
});
292292
const answer = response.choices[0]['message']['content'];

0 commit comments

Comments
 (0)