fix(onboard): infer custom model image input

This commit is contained in:
Peter Steinberger
2026-04-28 06:33:02 +01:00
parent d48c3e12a5
commit 5916237962
14 changed files with 322 additions and 7 deletions

View File

@@ -166,11 +166,13 @@ openclaw onboard --non-interactive \
--custom-api-key "$CUSTOM_API_KEY" \
--custom-provider-id "my-custom" \
--custom-compatibility anthropic \
--custom-image-input \
--gateway-port 18789 \
--gateway-bind loopback
```
`--custom-api-key` is optional. If omitted, onboarding checks `CUSTOM_API_KEY`.
OpenClaw marks common vision model IDs as image-capable automatically. Add `--custom-image-input` for unknown custom vision IDs, or `--custom-text-input` to force text-only metadata.
Ref-mode variant:
@@ -184,6 +186,7 @@ openclaw onboard --non-interactive \
--secret-input-mode ref \
--custom-provider-id "my-custom" \
--custom-compatibility anthropic \
--custom-image-input \
--gateway-port 18789 \
--gateway-bind loopback
```