Skip to content

Commit b2f67fa

Browse files
committed
fix: linting issues
1 parent 577f5da commit b2f67fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/api/generate/route.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export async function POST(req: Request): Promise<Response> {
7474
});
7575
}
7676

77-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
7877
const { prompt } = await req.json();
7978

8079
const response = await openai.chat.completions.create({
@@ -91,7 +90,6 @@ export async function POST(req: Request): Promise<Response> {
9190
},
9291
{
9392
role: "user",
94-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
9593
content: prompt,
9694
},
9795
],

0 commit comments

Comments
 (0)