mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 10:55:34 +00:00
fix: streaming issue fixed for build versions (#1006)
* fix: streaming issue fixed for build versions * added keep-alive header
This commit is contained in:
parent
49c7129ded
commit
78eb3a5f34
@ -139,7 +139,8 @@ async function chatAction({ context, request }: ActionFunctionArgs) {
|
||||
return new Response(stream.readable, {
|
||||
status: 200,
|
||||
headers: {
|
||||
contentType: 'text/plain; charset=utf-8',
|
||||
contentType: 'text/event-stream',
|
||||
connection: 'keep-alive',
|
||||
},
|
||||
});
|
||||
} catch (error: any) {
|
||||
|
Loading…
Reference in New Issue
Block a user