fix(openai): normalize prompt overlay personality config

This commit is contained in:
Vincent Koc
2026-04-06 17:24:09 +01:00
parent 6dc3e1f770
commit e7fe087677
5 changed files with 66 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ Config key:
Allowed values:
- `"friendly"`: default; enable the OpenAI-specific overlay.
- `"on"`: alias for `"friendly"`.
- `"off"`: disable the overlay and use the base OpenClaw prompt only.
Scope:
@@ -77,6 +78,9 @@ You can also set it directly with the config CLI:
openclaw config set plugins.entries.openai.config.personality off
```
OpenClaw normalizes this setting case-insensitively at runtime, so values like
`"Off"` still disable the friendly overlay.
## Option A: OpenAI API key (OpenAI Platform)
**Best for:** direct API access and usage-based billing.