We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d8ab8 commit e724860Copy full SHA for e724860
openai/init.lua
@@ -243,7 +243,7 @@ do
243
end
244
accumulation_buffer = rest
245
do
246
- chunk = assert(parse_completion_chunk(cjson.decode(json_blob)))
+ chunk = parse_completion_chunk(cjson.decode(json_blob))
247
if chunk then
248
chunk_callback(chunk)
249
openai/init.moon
@@ -253,7 +253,7 @@ class OpenAI
253
break
254
255
256
- if chunk = assert parse_completion_chunk cjson.decode json_blob
+ if chunk = parse_completion_chunk cjson.decode json_blob
257
chunk_callback chunk
258
259
...
0 commit comments