Merge branch 'codex/simp-prune-llm-contract' into codex/simp-hide-llm-adapter-helpers

This commit is contained in:
Tianyi Cui
2026-07-14 23:44:06 +08:00
118 changed files with 3881 additions and 337 deletions

View File

@@ -76,7 +76,7 @@ export class DeepSeekAdapter extends LlmAdapter {
// Only swallow error-body parsing: status and code are already captured,
// so malformed gateway JSON must not mask the actionable HTTP failure.
}
throw new LlmError(message, code)
throw new LlmError(message, code, response.status)
}
if (!response.body) {
throw new LlmError('DeepSeek API returned no response body', 'EMPTY_RESPONSE')