feat: also log generated names
This commit is contained in:
parent
501a94c325
commit
96028eae9b
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user