[Bug] Web Search toggle auto-reverts to OFF within 1-2s, cannot be enabled (v0.54.0 macOS)
Summary
The Web Search toggle in Settings → Features → Tools → WEB cannot be enabled. When clicked ON, the toggle visually switches to green for ~1-2 seconds, then automatically reverts to OFF on its own with no error message, no toast, no log entry visible to the user.
This is distinct from #2244 (closed by #2263), which described a runtime failure of the search tool when called. The fix in #2263 (fix(search): let web_search_tool use direct search API) addresses runtime behavior, but does not affect toggle state persistence. In my case the tool never gets a chance to run because the capability cannot be enabled in the first place.
Environment
- App version: v0.54.0 (Beta build)
- OS: macOS
- Backend connectivity: healthy (Chat, Memory, Telegram all functioning normally)
- Other WEB toggles: Open Browser and HTTP Requests stay ON without issues. Only Web Search auto-reverts.
Steps to reproduce
- Open Settings → Features → Tools
- Scroll to the WEB section
- Click the toggle for "Web Search" → it turns ON (green)
- Wait ~1-2 seconds
- Toggle silently flips back to OFF
- No error toast, no banner, no visible feedback
Expected behavior
Toggle stays in the state the user selected (ON or OFF) and persists across navigation / app restart, like every other capability in the same panel.
Actual behavior
Toggle auto-reverts to OFF within ~1-2 seconds. Setting cannot be persisted via the UI.
Additional context
- First time attempting to enable Web Search on this install — cannot confirm whether it ever worked previously
- In the same session I toggled other capabilities (Shell Commands OFF, Browser Automation OFF, Scheduled Tasks OFF) and they all persisted correctly — only Web Search shows this behavior
- No console errors visible in the app UI. Happy to provide logs if pointed to the right path.
Possible root cause hypotheses
- Persistence layer rejects the toggle write (silent validation failure?)
- Backend gate: capability requires a precondition (e.g. API key, plan tier, feature flag) that isn't met, and the gate silently reverts instead of showing an error
- Race condition with another setting (e.g. needs Browser Automation ON? — in my case it's OFF intentionally)
Would appreciate any pointers on where to look in logs / config to narrow this down.