mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-22 23:38:57 +00:00
@@ -75,9 +75,6 @@ async def stream_generate_completion(data: CompletionRequest, model_path: pathli
|
||||
if "finish_reason" in generation:
|
||||
yield "[DONE]"
|
||||
break
|
||||
|
||||
# Yield a finish response on successful generation
|
||||
# yield "[DONE]"
|
||||
except CancelledError:
|
||||
# Get out if the request gets disconnected
|
||||
|
||||
|
||||
Reference in New Issue
Block a user