From 8c97476140c4741ad7a2b962b4f7c129d2dd764b Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 26 Apr 2024 14:49:03 -0400 Subject: [PATCH] chore: formatting --- src/lib/apis/streaming/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/apis/streaming/index.ts b/src/lib/apis/streaming/index.ts index d62d23e45..c3c1d23aa 100644 --- a/src/lib/apis/streaming/index.ts +++ b/src/lib/apis/streaming/index.ts @@ -34,7 +34,7 @@ async function* openAIStreamToIterator( } else if (line.startsWith(':')) { // Events starting with : are comments https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_stream_format // OpenRouter sends heartbeats like ": OPENROUTER PROCESSING" - continue + continue; } else { try { const data = JSON.parse(line.replace(/^data: /, ''));