feat: optimize loading screen

This commit is contained in:
Yifei Zhang
2023-03-19 14:13:00 +00:00
parent caec01269a
commit 9398b34b5c
7 changed files with 10 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ export async function POST(req: Request) {
return new Response(JSON.stringify(completion.data));
} catch (e) {
console.error("[Chat] ", e);
return new Response(JSON.stringify(e));
}
}