mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-02-20 09:40:33 +08:00
feat: optimize loading screen
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user