mirror of
https://github.com/PinkSheep27/SBU-Hackathon.git
synced 2026-10-11 01:20:27 -04:00
added a exit button on the chat bot and make sure it still working
This commit is contained in:
@@ -17,7 +17,7 @@ export async function POST(request: Request) {
|
||||
catch(error){
|
||||
console.error(error);
|
||||
return NextResponse.json(
|
||||
{error: "Error with the model response "},
|
||||
{error: "Error with the model response " + String(error)},
|
||||
{status : 500}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user