소스 검색

chore: formatting

Timothy J. Baek 1 년 전
부모
커밋
8c97476140
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lib/apis/streaming/index.ts

+ 1 - 1
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: /, ''));