{"record":{"id":"f843206dae54880d","repo":"deepseek-ai/deepseek-harness","slug":"empty-response","errorCode":"EMPTY_RESPONSE","errorMessage":"DeepSeek API returned no response body","messagePattern":"DeepSeek API returned no response body","errorType":"exception","errorClass":"LlmError","httpStatus":null,"severity":"error","filePath":"packages/llm/llm-deepseek/src/adapter.ts","lineNumber":659,"sourceCode":"          if (fileAttempt === 0) {\n            fileAttempt += 1\n            continue\n          }\n        }\n        if (response.status === 400 && usedFiles.length > 0 && providerRejectedNormalizedImage(detail)) {\n          message = normalizedImageDiagnostic(usedFiles, message, detail)\n        }\n        const delay = providerRetryAfterMs(response.headers.get('retry-after'))\n        const id = requestId(response.headers)\n        throw new LlmError(message, httpErrorCode(response.status, providerError), {\n          cause: new Error(rawResponse.length > 0 ? rawResponse : `DeepSeek HTTP ${response.status}`),\n          status: response.status,\n          ...delay === undefined ? {} : { providerRetryAfterMs: delay },\n          ...id === undefined ? {} : { requestId: id },\n        })\n      }\n      if (!response.body) {\n        throw new LlmError('DeepSeek API returned no response body', 'EMPTY_RESPONSE')\n      }\n\n      yield* translate(parseSse(response.body, onActivity))\n      return\n    }\n  }\n}\n","sourceCodeStart":641,"sourceCodeEnd":667,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/llm/llm-deepseek/src/adapter.ts#L641-L667","documentation":"Error \"DeepSeek API returned no response body\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/llm/llm-deepseek/src/adapter.ts:659 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the request; if it persists, report the empty-body response to the API provider with the request id."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}