feat: also log generated names

This commit is contained in:
max_richter 2023-11-13 17:46:54 +01:00
parent 501a94c325
commit 96028eae9b

View File

@ -11,6 +11,7 @@ export const GET: RequestHandler = async function ({ params }) {
const res = await chat(prompt, { isList: true, temperature: 1 });
console.log(`[AI] Generated names for ${inputName} in ${performance.now() - a}ms`);
console.log(JSON.stringify(res, null, 2));
return json(res);
}