refactor: improve block modularity on server (#758)

This commit is contained in:
Jeremy 2025-02-04 17:15:39 +03:00 committed by GitHub
parent 711da0b94b
commit 9c4dbc8aaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 419 additions and 259 deletions

View file

@ -120,7 +120,7 @@ export async function POST(request: Request) {
sendReasoning: true,
});
},
onError: (error) => {
onError: () => {
return 'Oops, an error occured!';
},
});