Repository navigation
Description
Summary
After upgrading to OpenClaw 2026.6.1 and running the config/plugin migration, OpenAI/ChatGPT Responses inference fails for openai/gpt-5.4 and openai/gpt-5.5 with:
causeCode=invalid_provider_content_typeapi=openclaw-openai-responses-transportmessage=Connection error
Local vLLM inference succeeds in the same install, and gateway/plugin health is otherwise clean.
Environment
- OpenClaw: 2026.6.1
2e08f0f - OS: Linux
7.0.10-arch1-1x64 - Node: 22.22.2
- Install/update method: npm
- Gateway: systemd user service, running/reachable
- Auth: OpenAI OAuth profile reports OK
- Default model:
openai/gpt-5.5 - Session context shown by status:
gpt-5.5 (1000k ctx)
Config shape
The migrated config uses:
{
"models.providers.openai": {
"api": "openai-chatgpt-responses",
"auth": "oauth",
"baseUrl": "https://chatgpt.com/backend-api"
},
"agents.defaults.model": {
"primary": "openai/gpt-5.5"
}
}Configured OpenAI models include:
gpt-5.4, apiopenai-chatgpt-responses, runtimepigpt-5.5, apiopenai-chatgpt-responses, runtimepigpt-5.3-codex, apiopenai-chatgpt-responses
Reproduction
openclaw infer model run --model openai/gpt-5.5 --prompt "reply OK"
openclaw infer model run --model openai/gpt-5.4 --prompt "reply OK"
openclaw infer model run --model vllm/gemma4-31b --prompt "reply OK"Actual result
openai/gpt-5.5:
[openai-transport] [responses] error provider=openai api=openclaw-openai-responses-transport model=gpt-5.5 name=Error status=undefined code=undefined type=undefined causeName=ProviderHttpError causeCode=invalid_provider_content_type message=Connection error.
Error: No text output returned for provider "openai" model "gpt-5.5": Connection error..
openai/gpt-5.4:
[openai-transport] [responses] error provider=openai api=openclaw-openai-responses-transport model=gpt-5.4 name=Error status=undefined code=undefined type=undefined causeName=ProviderHttpError causeCode=invalid_provider_content_type message=Connection error.
Error: No text output returned for provider "openai" model "gpt-5.4": Connection error..
openai/gpt-5.3-codex:
[openai-transport] [responses] error provider=openai api=openclaw-openai-responses-transport model=gpt-5.3-codex name=Error status=400 code=undefined type=undefined causeName=undefined causeCode=undefined message=400 status code (no body)
Local vLLM succeeds:
model.run via local
provider: vllm
model: gemma4-31b
outputs: 1
OK
Expected result
openai/gpt-5.4 and openai/gpt-5.5 should return text output, or at least surface the underlying HTTP response/status/body/content-type clearly enough to diagnose.
Notes
This appears distinct from the plugin migration failure mode. Doctor shows plugin registry clean:
- Plugins loaded: 71
- Plugin errors: 0
- no
runtime.llm.complete - no conflicting legacy plugin index warning after cleanup
This looks like a 2026.6.1 OpenAI/ChatGPT Responses transport issue where the transport expects SSE/JSON but receives another content type from the backend.
A redacted repro bundle is available if useful, but I am not attaching it publicly because it contains local status/log context.
Possibly related historical/current issues:
- [Bug]: Codex OAuth /responses requests still hang until 300s timeout on 2026.5.25-beta.1 #87032
- OpenAI model with agentRuntime.id "openclaw" appears to switch to OpenAI Codex runtime after first Telegram message #90021
- openai-codex provider base URL missing /codex path — requests get 403 HTML block page #67193
- [Bug]: openai-codex provider fails with Cloudflare 403 on every request after upgrade from 2026.4.12 → 2026.4.14 #66633
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 4, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 3, 2026, 9:01 PM ET / 01:01 UTC.
Summary
Keep open: the report is a concrete 2026.6.1 OpenAI ChatGPT/Codex Responses transport failure, and current main has the same relevant transport code as the reported release, so there is no source or release evidence that the central problem is already fixed.
Reproducibility: no. not at high confidence from this review alone: the reporter provided exact commands and logs, and the matching current source path is clear, but a live OpenAI OAuth model call against current main was not run.
Ways to help us reproduce this
Next step
Needs maintainer live repro and owner review before a repair PR because the failure depends on the hidden ChatGPT/Codex Responses transport and may be upstream/protocol-specific.
Review details
Best possible solution:
Keep this open for an owner/live repro that captures a redacted upstream status/content-type/body, then fix either the ChatGPT Responses transport path or the error propagation without adding a new config shape.
Do we have a high-confidence way to reproduce the issue?
No, not at high confidence from this review alone: the reporter provided exact commands and logs, and the matching current source path is clear, but a live OpenAI OAuth model call against current main was not run.
Is this the best way to solve the issue?
Unclear: improving diagnostics for
invalid_provider_content_typeis clearly needed, but restoring text output safely requires a live ChatGPT/Codex transport investigation before choosing the final code change.AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against d1fef1d50dcb.
Label changes
Label changes:
P1: The report describes current-release OpenAI ChatGPT/Codex model inference failing for primary GPT-5.4/GPT-5.5 routes, which can block real agent/model workflows.impact:auth-provider: The affected path is OpenAI OAuth/ChatGPT Responses provider routing and transport behavior for canonicalopenai/*models.issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state selects this label.clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.Label justifications:
P1: The report describes current-release OpenAI ChatGPT/Codex model inference failing for primary GPT-5.4/GPT-5.5 routes, which can block real agent/model workflows.impact:auth-provider: The affected path is OpenAI OAuth/ChatGPT Responses provider routing and transport behavior for canonicalopenai/*models.Evidence reviewed
What I checked:
openclaw infer model runcommands foropenai/gpt-5.5andopenai/gpt-5.4, both failing on 2026.6.1 withcauseCode=invalid_provider_content_typethroughopenclaw-openai-responses-transport, while a local vLLM model succeeds in the same install.assertOpenAISdkStreamContentTypeaccepts onlytext/event-streamor JSON for streamed OpenAI-compatible responses, then throwsProviderHttpErrorwithcode: "invalid_provider_content_type"when a successful response has another content type. (src/agents/provider-transport-fetch.ts:231, d1fef1d50dcb)src/agents/provider-transport-fetch.ts:741, d1fef1d50dcb)prepareCodexSimpleTransportModelhandlesprovider=openaiplusapi=openai-chatgpt-responses, normalizes ChatGPT backend URLs to/backend-api/codex, registers the OpenClaw transport stream, and changes the API toopenclaw-openai-responses-transport. (src/agents/simple-completion-transport.ts:20, d1fef1d50dcb)v2026.6.1and currentHEAD;v2026.6.1points at the reported release commit, so current main does not show a newer source change that would close this issue. (d1fef1d50dcb)model runas a provider/auth health probe and list ChatGPT/Codex subscription auth through the OpenClaw runtime as a supportedopenai/gpt-5.5route, so this is a supported-path bug rather than an out-of-repo support request. Public docs:docs/providers/openai.md. (docs/providers/openai.md:37, d1fef1d50dcb)Likely related people:
provider-transport-fetch.ts,simple-completion-transport.ts, and OpenAI transport/docs paths point to recent work on the affected transport and diagnostics surfaces. (role: recent area contributor; confidence: high; commits: 3ad7049cba9d, 7740c4d53050, eb9051cc7c07; files:src/agents/provider-transport-fetch.ts,src/agents/simple-completion-transport.ts,extensions/openai/openai-chatgpt-provider.ts)src/agents/provider-transport-fetch.ts,src/agents/simple-completion-transport.ts,docs/providers/openai.md)infer model runbehavior. (role: simple-completion transport contributor; confidence: medium; commits: 42e708d0055b; files:src/agents/simple-completion-transport.ts)extensions/openai/openai-chatgpt-provider.ts,docs/providers/openai.md)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.jimmielightner commentedon Jun 4, 2026
Thanks. I can add expected vs actual explicitly.
Expected
openclaw infer model run --model openai/gpt-5.5 --prompt "reply OK"should return a normal text completion, comparable to the local vLLM control returningOK.Actual
The command fails before any text output:
Same pattern for
openai/gpt-5.4.The local control succeeds:
I do not have the upstream response content-type/body yet.
OPENCLAW_DEBUG_PROVIDER=1andDEBUG="openclaw:*"did not surface additional response details beyond the sameinvalid_provider_content_typeline.The preserved 2026.6.1 snapshot is available, so I can run a one-off diagnostic build/patch if useful. In particular, I can capture a redacted
response.status,response.headers.get("content-type"), and the first N bytes of the response body, with auth headers/tokens redacted. If there is a preferred debug flag, patch, or command sequence for that, I can run it against the snapshot.bushinconsulting commentedon Jun 4, 2026
Confirming this on 2026.6.1 / commit 2e08f0f, ChatGPT Plus OAuth profile.
Tracked it down to a payload-shape mismatch — openclaw-openai-responses-transport
doesn't emit the contract that chatgpt.com/backend-api/codex/responses enforces.
Below is a fully reproducible curl that works against the codex endpoint
using the same OAuth profile OpenClaw stores, isolating the issue to transport
payload shape (not auth, not headers, not routing).
Working curl
ACCESS=$(jq -r '.profiles["openai:"].access'
~/.openclaw/agents/main/agent/auth-profiles.json)
ACCOUNT=$(jq -r '.profiles["openai:"].accountId'
~/.openclaw/agents/main/agent/auth-profiles.json)
curl -sS -i -N -X POST 'https://chatgpt.com/backend-api/codex/responses'
-H "Authorization: Bearer $ACCESS"
-H "chatgpt-account-id: $ACCOUNT"
-H "OpenAI-Beta: responses=experimental"
-H "Content-Type: application/json"
-H "Accept: text/event-stream"
-H "originator: codex_cli_rs"
-d '{
"model": "gpt-5.4",
"stream": true,
"store": false,
"instructions": "You are a terse assistant.",
"input": [{"role":"user","content":[{"type":"input_text","text":"say hi"}]}]
}'
→ HTTP/2 200, content-type: text/event-stream, full SSE response with deltas
and response.completed. x-codex-plan-type: plus, x-codex-active-limit: premium.
Required payload diff (versus OpenAI Platform /v1/responses)
Empirically discovered by iterating on error responses:
What's missing in OpenClaw's transport
openclaw-openai-responses-transport puts system content inside input[]
as a system role and omits store. Both work fine against
toruvieI commentedon Jun 4, 2026
I can confirm that this also affects my configuration after upgrading to 2026.6.1 :(
Logs proof:
Unfortunately this is one of the many problems, caused by pushing on openclaw openai.com codex runtime, as documented here: #88706
The amount of the problems this is causing is really bad :(
@bushinconsulting could you please finish your comment? Do you have a full patch/workaround ?
toruvieI commentedon Jun 4, 2026
@clawsweeper re-review
This is a critical regression on 2026.6.1 causing COMPLETE inability to use openai subscription plans to be used in openclaw.
toruvieI commentedon Jun 4, 2026
I reproduced the failing path more closely and found the concrete root cause.
ChatGPT/Codex Responses can return a valid SSE stream with no
content-typeheader.In my 2026.6.1 install, the failing response was:
So the backend is not returning garbage. It is returning SSE, but OpenClaw rejects it in the content-type guard before the SDK can parse it.
The minimal patch is in the active
assertOpenAISdkStreamContentTypepath.Allow missing
content-typeonly for successful ChatGPT/Codex Responses streams:Maybe also include
openclaw-openai-responses-transport, but be careful. A broad bypass for allopenclaw-openai-responses-transportcould hide real bad responses from other OpenAI-compatible routes. This should be narrowly scoped to the ChatGPT/Codex backend, ideally by provider + API +chatgpt.com/backend-api/codexbase URL.After hot-patching that guard locally, this works again:
openclaw infer model run --model openai/gpt-5.5 --prompt "reply OK"Result:
TRUE ROOT CAUSE:
It was likely exposed by
4c33aaa86c1673924c9e15c41414ea8af253092f/ PR #88451, the OpenAI provider identity unification merged on 2026-05-30. That made the normalopenai/gpt-5.4andopenai/gpt-5.5ChatGPT subscription route go through this OpenClaw Responses transport path.Separately: this is exactly the kind of sharp edge we get when OpenAI subscription usage is pushed through Codex/app-server-shaped paths while PI/direct ChatGPT subscription usage gets less attention. The unified
openaiprovider direction is fine, but this route needs first-class live coverage, not only Codex-runtime assumptions. Got to vent 2h lost on debugging it :-)aaajiao commentedon Jun 4, 2026
Independent reproduction — macOS + OrbStack Ubuntu VM, ChatGPT/Codex OAuth, Pi/native runtime. Same
invalid_provider_content_type, so this is not isolated to one platform or config.Environment
2026.6.1 (2e08f0f), installed via npm; Node 24.xopenai:<redacted>, provideropenai, modeoauth)agentRuntime.id: pi) — matches Pi/native runtime routes openai-chatgpt-responses to boundary-aware transport and fails on ChatGPT Codex endpoint #90086openai/gpt-5.52026.5.28; broke immediately after upgrading to2026.6.1+doctor --fixmigrationSymptom (every
openai/*model, then fails over)Ruled out (the issue is labeled
needs-live-repro, so here is what is not the cause)openclaw models auth login --provider openai; the profile now carries the fullaccess/refresh/expires/accountId/chatgptPlanTypefields. No change — still fails identically.models.providers.openai.baseUrl, then removing the entiremodels.providers.openaiblock, made no difference — consistent with the hardcoded Codex base URL noted in Codex/ChatGPT OAuth: 400 (no body) on openai-chatgpt-responses after upgrade to 2026.6.1 (Windows) #90269.curlfrom inside the VM to the real endpoint returns a correct response:So the failure is specifically inside the boundary-aware unified OpenAI responses transport (
openclaw-openai-responses-transport) on the Pi/native runtime path — exactly the route described in #90086 — not the environment, the credential, or the config.Last known good
2026.5.28(matching #90269's rollback finding). We are staying on2026.6.1with an opencode failover for now rather than rolling back, and are happy to test a patched build.aaajiao commentedon Jun 4, 2026
@clawsweeper re-review
km6d5dhhyw-maker commentedon Jun 4, 2026
I’m seeing the same failure signature on OpenClaw 2026.6.1 (2e08f0f).
Environment:
Symptom:
Gateway log failure:
Then:
I exported a sanitized diagnostics bundle with
openclaw gateway diagnostics exportand can attach it manually if useful.km6d5dhhyw-maker commentedon Jun 4, 2026
openclaw-diagnostics-20260604-060411.zip
Attaching the sanitized diagnostics bundle from my repro.
A few extra notes:
say only: ping./statusshowsModel: openai/gpt-5.5andRuntime: OpenClaw Default.agents.defaults.models["openai/gpt-5.5"].agentRuntime.id = "openclaw".openai-chatgpt-responsesand returnscauseCode=invalid_provider_content_type.This seems related to #90086 as well, since my target path is the OpenClaw/Pi/native runtime route rather than the Codex app-server runtime.
km6d5dhhyw-maker commentedon Jun 4, 2026
Follow-up from my macOS LaunchAgent repro: confirmed the local compiled hotpatch restores replies.
What happened:
dist/openai-transport-stream-*.js.assertOpenAISdkStreamContentTypeguard to allow a missingcontent-typeonly for successful OpenAI ChatGPT/OpenClaw Responses transport streams, the dashboard responded again.pong.This supports the current root-cause theory: the upstream response is valid stream data, but 2026.6.1 rejects it when
content-typeis missing.Important caveat: this is only a local installed-package hotpatch and will likely be overwritten by update/reinstall. I’m not treating it as a permanent fix.
nexic-hh commentedon Jun 5, 2026
Adding another live repro datapoint from a macOS host on
2026.6.1 (2e08f0f), because this narrows the failing scope further.Exact config shape
openai/gpt-*openai:<redacted>(provider=openai,mode=oauth)models.providers.openai.baseUrlHTTP_PROXY/HTTPS_PROXY/ALL_PROXYenv set2026.6.1 (2e08f0f)agents.defaults.models["openai/gpt-5.5"].agentRuntime.id = "openclaw"agents.defaults.models["openai/gpt-5.4"].agentRuntime.id = "codex"agents.defaults.models["openai/gpt-5.4-mini"].agentRuntime.id = "codex"Fresh one-shot repro
gpt-5.5on the explicit OpenClaw compatibility route fails reproducibly:openclaw infer model run --gateway --model openai/gpt-5.5 --prompt 'Reply with exactly: GILA-OPENCLAW-55-OK' --jsonResult:
In the same install, same host, same OAuth profile, a parallel Codex-runtime control succeeds immediately:
openclaw infer model run --gateway --model openai/gpt-5.4 --prompt 'Reply with exactly: GILA-CODEX-54-OK' --jsonResult:
{ "ok": true, "capability": "model.run", "transport": "gateway", "provider": "openai", "model": "gpt-5.4", "outputs": [ { "text": "GILA-CODEX-54-OK", "mediaUrl": null } ] }Probe/auth checks
Observed:
openai/gpt-5.5reproduces the same failureRelevant probe/log lines:
and then:
Why this datapoint matters
This host is not just "OpenAI OAuth is broken" in general:
openai/gpt-5.4works throughagentRuntime.id="codex"openai/gpt-5.5fails throughagentRuntime.id="openclaw"So this looks like a clean repro that the explicit OpenClaw compatibility route for
openai/gpt-5.5is failing, while the preferred native Codex runtime route remains usable on the same machine.Krill also confirmed in Discord that this path is theoretically supposed to work on
2026.6.1(so not just "unsupported config"), but it is not the preferred/default route for day-to-day OpenAI OAuth use.robertoronderosjr commentedon Jun 6, 2026
Three distinct bugs in 2026.6.1 — full root cause + patches (verified end-to-end on 2026-06-06)
Same gateway version (2026.6.1) but slightly different config shape — provider id is still
openai-codex(pre-migration), targetinghttps://chatgpt.com/backend-api/codexwithauth: oauth, api: openai-chatgpt-responses. Sameinvalid_provider_content_typesymptom plus two additional 400s underneath. Root caused all three in the transport bundle and verified local patches restore LLM round-trip end-to-end.All three are in
/app/dist/openai-transport-stream-<hash>.js. With all three patches applied + the request body shape we expect, the API returnsHTTP/2 200withevent: response.createdSSE.Bug 1 —
OPENAI_CODEX_RESPONSES_PROVIDERShardcoded to["openai"]excludes other valid provider idsAround line 1297:
isOpenAICodexResponsesModel(model)checksOPENAI_CODEX_RESPONSES_PROVIDERS.has(model.provider). For installs whose provider id is stillopenai-codex(legacy but not yet migrated byopenclaw doctor --fix, OR migrated and kept distinct because the operator has a separateopenaiprovider for API-key paths),isCodexResponsesreturnsfalse, so theinstructionsfield is never added to the request body (line ~2524:...isCodexResponses ? { instructions: ... } : {}).ChatGPT's backend rejects:
Fix (single line):
Caveat for the migration:
openclaw doctor --fixmigratesmodels.providers.openai-codex → models.providers.openai, but if the operator already has a canonicalopenaiprovider (e.g. for paid API-key paths), the migration deletes the codex config (legacy-config-migrations-*.js~line 2256). So the operator can't always rename toopenai. Either the set above needs more entries, or the migration needs a non-destructive merge path.Bug 2 —
storefield omitted foropenai-chatgpt-responses, but API requires it explicitlyfalseAround line 308:
This makes
allowsResponsesStore = falsefor chatgpt-responses. Then around line 343:→
explicitStore = undefined→ thestorefield is omitted from the body. ChatGPT rejects:Omitting the field is not equivalent to
store: falsefor this endpoint — it must be set explicitly. Fix (single line):Bug 3 —
assertOpenAISdkStreamContentTyperejects valid SSE responses that omitContent-TypeAround line 720:
ChatGPT's
/backend-api/codex/responsesreturns valid SSE (event: response.created\ndata: {...}) without aContent-Typeheader. Confirmed by inspecting raw response headers — onlyx-codex-*,x-oai-request-id,x-openai-proxy-wasm: v0.1,cf-*, nocontent-type.response.headers.get("content-type") ?? ""returns"".isOpenAISdkStreamContentType("")returnsfalse(no match fortext/event-streamor JSON). The check throwsinvalid_provider_content_type— exactly what this issue reports.Fix (single line):
The existing
"OpenAI-compatible APIs commonly require a /v1 path prefix"hint in the error message is misleading — appending/v1tohttps://chatgpt.com/backend-api/codextriggers a Cloudflare bot challenge (403 withcf-mitigated: challenge). The bare path/backend-api/codexis correct; the real issue is the missing-header tolerance.Repro proof — same TOKEN/ACCT, hitting the same endpoint
Working request (
HTTP/2 200):Removing
instructions:400 {"detail":"Instructions are required"}Removing
store: false:400 {"detail":"Store must be set to false"}Removing
stream: true:400 {"detail":"Stream must be set to true"}With all three present + the three transport patches applied, OpenClaw's gateway now delivers gpt-5.5 responses end-to-end through Discord, Telegram, Slack, and WhatsApp channels (verified live).
Local entrypoint hotfix (until upstream lands)
For fleet operators stuck on 2026.6.1 right now, an idempotent shell script wired into the container entrypoint:
Happy to send a PR if it's useful to have the fixes in proper code form.
aaajiao commentedon Jun 6, 2026
Fixed by #90205 (merged in ab0a633), which tolerates a missing
content-typeheader on streamed Codex/ChatGPT Responses replies by sniffing the body and only fast-failing on actual HTML — so valid SSE/JSON with no header now passes through instead of hittinginvalid_provider_content_type.Note: the fix is not in stable
v2026.6.1yet; it first lands in thev2026.6.5-beta.1prerelease. This can be closed once that ships to stable (or now, as already-fixed-on-main).khalil-omer commentedon Jun 8, 2026
Adding a live repro (this issue is tagged
needs-live-repro) plus a root cause and a minimal working patch. Confirmed on Linux (so not macOS-specific), ChatGPT Pro OAuth,openclaw(pi/native) runtime,openai/gpt-5.5.Environment
2026.6.1 (2e08f0f), core +@openclaw/codexboth 2026.6.1openaiprovider, apiopenai-chatgpt-responses), no API keyopenai/gpt-5.5,agentRuntime.id = openclawLive upstream repro (the requested redacted status/content-type/body)
Direct
curlto the same endpoint the gateway hits, with the account's OAuth bearer +chatgpt-account-id:Key point: the ChatGPT Codex backend returns HTTP 200 + a valid
text/event-streambody but omits thecontent-typeheader entirely. This happens with or withoutAccept: text/event-streamon the request — so the fix in #90382 (addingAccept) is not sufficient; the header is simply absent on the response.Gateway-side
Debug log of the failing call:
URL, auth, and
store=falseare all correct; the only problem is the empty content-type.Root cause
assertOpenAISdkStreamContentTypeearly-returns only fortext/event-stream/ JSON and otherwise throwsinvalid_provider_content_type— with no exemption for the native ChatGPT Codex backend, which legitimately returns an empty content-type. The native/openclawruntime routesopenai-chatgpt-responsesthrough this SDK content-type assertion (see also #90086) instead of a codex-stream handler that tolerates the missing header.Minimal patch that fully unblocks it (verified)
In
assertOpenAISdkStreamContentType(provider-transport-fetch.ts), accept an empty content-type when it's the native codex backend:After this,
openai/gpt-5.5over ChatGPT OAuth streams and completes normally (0 transport errors). A cleaner fix would route the native codex backend to the codex stream handler per #90086, or treat a missing content-type as SSE forusesNativeOpenAICodexResponsesBackend(model).joshavant commentedon Jun 10, 2026
Closing as fixed by #90205 (
ab0a633), included inv2026.6.5and later.That fix addresses the reported
invalid_provider_content_typefailure where valid ChatGPT/Codex streamed responses were rejected when the upstream omittedcontent-type.If you still see a related failure on a newer build, please open a separate issue with your OpenClaw version, model/runtime, auth shape, command, and redacted logs.