openclaw - 💡(How to fix) Fix [Bug] openai-codex/gpt-5.5 fails with TypeError: listRegisteredPluginAgentPromptGuidance is not a function (v2026.5.18)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

On OpenClaw v2026.5.18 (stable), any request targeting gpt-5.5 — whether via openai-codex/gpt-5.5 or openai/gpt-5.5 — fails immediately with:

TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function

The run fails before any model response is generated (0 tokens in/out, ~2s runtime). Other models on the same openai-codex provider (gpt-5.4, gpt-5.4-mini) work correctly.

Error Message

TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function

Root Cause

On OpenClaw v2026.5.18 (stable), any request targeting gpt-5.5 — whether via openai-codex/gpt-5.5 or openai/gpt-5.5 — fails immediately with:

TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function

The run fails before any model response is generated (0 tokens in/out, ~2s runtime). Other models on the same openai-codex provider (gpt-5.4, gpt-5.4-mini) work correctly.

Fix Action

Fix / Workaround

  • This is not the OAuth 401 issue fixed by PR #73588 (released in v2026.4.29). Auth is working — gpt-5.4 and gpt-5.4-mini complete successfully on the same provider.
  • The error suggests the GPT-5.5 code path calls _pluginRuntime.listRegisteredPluginAgentPromptGuidance which does not exist in the current pluginRuntime exports, indicating a missing export or version mismatch between the 5.5 model handling code and the plugin runtime module.
  • Related issues: #70834, #73559, #81175 (different errors but same model).
  • Tested both openai-codex/gpt-5.5 (direct provider) and openai/gpt-5.5 (via agentRuntime codex) — both fail with the same TypeError.

Code Example

TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function

---

status: failed: TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function
Stats: runtime 2s • tokens 0 (in 0 / out 0)

---

"openai-codex": {
  "api": "openai-codex-responses",
  "auth": "oauth",
  "baseUrl": "https://api.openai.com/v1",
  "models": [
    { "id": "gpt-5.4", "contextWindow": 1048576, "maxTokens": 32768 },
    { "id": "gpt-5.4-mini", "contextWindow": 400000, "maxTokens": 32768 },
    { "id": "gpt-5.5", "contextWindow": 1048576, "maxTokens": 32768 }
  ]
}
RAW_BUFFERClick to expand / collapse

Bug type

Bug (runtime TypeError on GPT-5.5 model)

Summary

On OpenClaw v2026.5.18 (stable), any request targeting gpt-5.5 — whether via openai-codex/gpt-5.5 or openai/gpt-5.5 — fails immediately with:

TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function

The run fails before any model response is generated (0 tokens in/out, ~2s runtime). Other models on the same openai-codex provider (gpt-5.4, gpt-5.4-mini) work correctly.

Steps to reproduce

  1. Configure openai-codex provider with OAuth auth on OpenClaw v2026.5.18.
  2. Spawn a subagent (or send a message) with model: "openai-codex/gpt-5.5".
  3. Observe immediate failure with the TypeError above.
  4. Repeat with model: "openai/gpt-5.5" — same error.
  5. Repeat with model: "openai-codex/gpt-5.4" or model: "openai-codex/gpt-5.4-mini" — works fine.

Expected behavior

gpt-5.5 should complete the run like gpt-5.4 does.

Actual behavior

status: failed: TypeError: (0 , _pluginRuntime.listRegisteredPluginAgentPromptGuidance) is not a function
Stats: runtime 2s • tokens 0 (in 0 / out 0)

Environment

  • OpenClaw version: 2026.5.18
  • Operating system: macOS (Darwin 25.5.0, arm64 / M1 Pro)
  • Install method: npm global
  • Node: v24.14.0
  • Provider: openai-codex (OAuth mode)
  • Auth: Codex OAuth (ChatGPT Pro subscription, profile healthy per openclaw models status)

Provider config (sanitized)

"openai-codex": {
  "api": "openai-codex-responses",
  "auth": "oauth",
  "baseUrl": "https://api.openai.com/v1",
  "models": [
    { "id": "gpt-5.4", "contextWindow": 1048576, "maxTokens": 32768 },
    { "id": "gpt-5.4-mini", "contextWindow": 400000, "maxTokens": 32768 },
    { "id": "gpt-5.5", "contextWindow": 1048576, "maxTokens": 32768 }
  ]
}

Additional context

  • This is not the OAuth 401 issue fixed by PR #73588 (released in v2026.4.29). Auth is working — gpt-5.4 and gpt-5.4-mini complete successfully on the same provider.
  • The error suggests the GPT-5.5 code path calls _pluginRuntime.listRegisteredPluginAgentPromptGuidance which does not exist in the current pluginRuntime exports, indicating a missing export or version mismatch between the 5.5 model handling code and the plugin runtime module.
  • Related issues: #70834, #73559, #81175 (different errors but same model).
  • Tested both openai-codex/gpt-5.5 (direct provider) and openai/gpt-5.5 (via agentRuntime codex) — both fail with the same TypeError.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

gpt-5.5 should complete the run like gpt-5.4 does.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug] openai-codex/gpt-5.5 fails with TypeError: listRegisteredPluginAgentPromptGuidance is not a function (v2026.5.18)