-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
不具合の内容
タイトルのとおりです。
openrouterのdeepseek/deepseek-chatだと発生しました。
deepseek/deepseek-r1だと出てなかったです。モデルではなく時間帯の問題なのかも。
なぜ出るのかはちょっとわかってません。
250個やって2個でたり、8個くらい出たり。
現象・ログ
FetchError: Invalid response body while trying to fetch https://openrouter.ai/api/v1/chat/completions: Premature close
at Gunzip.<anonymous> (/Users/kazuyuki_hiroshiba/Github/e2k/dataset/node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.js:400:12)
at Gunzip.emit (node:events:530:35)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
type: 'system',
errno: 'ERR_STREAM_PREMATURE_CLOSE',
code: 'ERR_STREAM_PREMATURE_CLOSE'
},
再現手順
不明
期待動作
現状のコードだと全部回ってから初めて問題に気づくので、せめて途中で気付けると嬉しそう。
その他
Reactions are currently unavailable