This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-27 02:59:07 -04:00
1 parent ba556bd8f0
commit 70549c5c8a
1 file changed
+3
+3
View File
@@ -1346,6 +1346,9 @@ async def generate_chat_completion(
)
is_streaming_request = bool(payload.get('stream', False))
if not is_streaming_request:
payload.pop('stream_options', None)
payload = json.dumps(payload)
r = None