mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-03 03:21:24 +02:00
Merge branch 'concedo_experimental' of https://github.com/LostRuins/koboldcpp into concedo_experimental
This commit is contained in:
@@ -1482,6 +1482,7 @@ class ServerRequestHandler(http.server.SimpleHTTPRequestHandler):
|
||||
async def handle_sse_stream(self, genparams, api_format):
|
||||
global friendlymodelname, currfinishreason
|
||||
self.send_response(200)
|
||||
self.send_header("X-Accel-Buffering", "no")
|
||||
self.send_header("cache-control", "no-cache")
|
||||
self.send_header("connection", "keep-alive")
|
||||
self.end_headers(content_type='text/event-stream')
|
||||
|
||||
Reference in New Issue
Block a user