Skip to content

Add OpenClaw model and thinking override#18

Open
0xble wants to merge 4 commits intoIntent-Lab:mainfrom
0xble:pr/openclaw-override-clear-tests-readme
Open

Add OpenClaw model and thinking override#18
0xble wants to merge 4 commits intoIntent-Lab:mainfrom
0xble:pr/openclaw-override-clear-tests-readme

Conversation

@0xble
Copy link

@0xble 0xble commented Mar 1, 2026

Adds OpenClaw model/thinking override controls.

When a model/thinking override is set, the app applies it for the current OpenClaw session and reapplies on change. When either setting is cleared in Settings, the app now explicitly clears the remote override (/model default with reset/clear fallbacks, /think default with /think off fallback) so the session returns to gateway defaults.

This also tightens OpenClaw connection/auth handling (connected only on 2xx, explicit 401/403 messaging), documents the new settings fields in README, and adds targeted tests for apply/change/clear/failure paths.

Tested locally with:
xcodebuild test -project CameraAccess.xcodeproj -scheme CameraAccess -destination 'id=29C4AFF4-EC98-4C76-9D8D-E79A9A665DEF' -only-testing:CameraAccessTests/OpenClawBridgeOverrideTests
All 4 override tests passed.

@0xble 0xble changed the title Improve OpenClaw override handling and add override-flow tests Improve OpenClaw override handling Mar 1, 2026
@0xble 0xble changed the title Improve OpenClaw override handling Add OpenClaw model and thinking override Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant