We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577f5da commit b2f67faCopy full SHA for b2f67fa
src/app/api/generate/route.ts
@@ -74,7 +74,6 @@ export async function POST(req: Request): Promise<Response> {
74
});
75
}
76
77
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
78
const { prompt } = await req.json();
79
80
const response = await openai.chat.completions.create({
@@ -91,7 +90,6 @@ export async function POST(req: Request): Promise<Response> {
91
90
},
92
{
93
role: "user",
94
95
content: prompt,
96
97
],
0 commit comments