Skip to content

Commit 278d5de

Browse files
authored
Merge branch 'main' into more_parsers
2 parents d2ac1c0 + 544be26 commit 278d5de

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

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

Lines changed: 3 additions & 3 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-3.5-turbo",
241+
model: "gpt-4o-mini",
242242
messages: messages,
243243
tools: tools,
244244
tool_choice: "auto",
@@ -286,11 +286,11 @@ 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-3.5-turbo",
289+
"model": "gpt-4o-mini",
290290
"messages": messages,
291291
});
292292
const answer = response.choices[0]['message']['content'];
293293

294294
console.log(`response: ${answer}`);
295295
return NextResponse.json({ result: answer }, { status: 200 });
296-
}
296+
}

package-lock.json

Lines changed: 9 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@types/react-dom": "^18",
3939
"autoprefixer": "^10.4.19",
4040
"eslint": "^8",
41-
"eslint-config-next": "14.1.0",
41+
"eslint-config-next": "14.2.5",
4242
"postcss": "^8",
4343
"tailwindcss": "^3.4.3",
4444
"tree-sitter-cli": "^0.22.6",

0 commit comments

Comments
 (0)