feat(providers): share GPT-5 prompt overlay

This commit is contained in:
Peter Steinberger
2026-04-22 23:13:49 +01:00
parent 7b2c9a6fa3
commit 2cd3164a0f
19 changed files with 420 additions and 216 deletions

View File

@@ -1340,6 +1340,28 @@ Replace the entire OpenClaw-assembled system prompt with a fixed string. Set at
}
```
### `agents.defaults.promptOverlays`
Provider-independent prompt overlays applied by model family. GPT-5-family model ids receive the shared behavior contract across providers; `personality` controls only the friendly interaction-style layer.
```json5
{
agents: {
defaults: {
promptOverlays: {
gpt5: {
personality: "friendly", // friendly | on | off
},
},
},
},
}
```
- `"friendly"` (default) and `"on"` enable the friendly interaction-style layer.
- `"off"` disables only the friendly layer; the tagged GPT-5 behavior contract remains enabled.
- Legacy `plugins.entries.openai.config.personality` is still read when this shared setting is unset.
### `agents.defaults.heartbeat`
Periodic heartbeat runs.