fix(openai): use tagged GPT-5 prompt contract

This commit is contained in:
Peter Steinberger
2026-04-21 02:42:51 +01:00
parent c910ddac38
commit 525e66e513
3 changed files with 197 additions and 73 deletions

View File

@@ -208,7 +208,7 @@ See [Video Generation](/tools/video-generation) for shared tool parameters, prov
OpenClaw adds an OpenAI-specific GPT-5 prompt contribution for `openai/*` and `openai-codex/*` GPT-5-family runs. It lives in the bundled OpenAI plugin, applies to model ids such as `gpt-5`, `gpt-5.2`, `gpt-5.4`, and `gpt-5.4-mini`, and does not apply to older GPT-4.x models.
The GPT-5 contribution adds concise output shape, tool-call, and execution-bias guidance by default. That guidance is always enabled for matching GPT-5 models. The friendly interaction-style layer is separate and configurable.
The GPT-5 contribution adds a tagged behavior contract for output shape, tool persistence, dependency checks, parallel lookup, completion checks, verification, and autonomy by default. That guidance is always enabled for matching GPT-5 models. The friendly interaction-style layer is separate and configurable.
| Value | Effect |
| ---------------------- | ------------------------------------------- |