formatting (#1235)
This commit is contained in:
parent
fffb0e8897
commit
2e5267bc11
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ export async function POST(request: Request) {
|
||||||
|
|
||||||
return new Response(stream.pipeThrough(new JsonToSseTransformStream()));
|
return new Response(stream.pipeThrough(new JsonToSseTransformStream()));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const vercelId = request.headers.get('x-vercel-id');
|
const vercelId = request.headers.get("x-vercel-id");
|
||||||
|
|
||||||
if (error instanceof ChatSDKError) {
|
if (error instanceof ChatSDKError) {
|
||||||
return error.toResponse();
|
return error.toResponse();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue