fix(status): show configured model instead of last-run model#396
Closed
azade-c wants to merge 1 commit intoopenclaw:mainfrom
Closed
fix(status): show configured model instead of last-run model#396azade-c wants to merge 1 commit intoopenclaw:mainfrom
azade-c wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Contributor
|
Thanks ! Welcome to the Clawtributors! Say hi on Discord! |
Contributor
Contributor
dgarson
added a commit
to dgarson/clawdbot
that referenced
this pull request
Feb 9, 2026
…stions, threshold validation, and power-user gating (openclaw#396) * feat: add Debug & Logging config section to Settings UI Add a new "Debug & Logging" section in the Admin/Power User settings that provides a full UI for tuning openclaw.json logging and debugging configuration. Gated behind Power User Mode. Covers: - Log level / console level / console style selectors - Redact sensitive toggle - Enhanced logging feature toggles (tool errors, perf outliers, etc.) - Performance threshold sliders (tool call, agent turn, gateway, db op) - Token warning threshold sliders - Tool journal config (enable, file path, retention, redaction) - Suppress subsystem debug logs tag list - Channel debug overrides (add/remove with verbose/debug/trace/suppress) - Feature debug overrides (add/remove with verbose/debug/trace/suppress) - Sticky save/reset bar with dirty state tracking https://claude.ai/code/session_011WdpEacHmK1fMQMFiD3Szu * fix: address data loss, UX gaps, and missing fields in debug/logging config Fixes: - Preserve ALL config fields on save (file, redactPatterns, journal.toolFilter, enhanced.gatewayHealthSuppressMethods) via index signature and full-object patching — previously saving clobbered unmodeled fields - Fix dead ternary in enhanced logging defaults (both branches were `true`) - Add proper error state when gateway/config fails to load - Add beforeunload guard to prevent losing unsaved changes on navigation - Token threshold cross-validation: prevent warning >= critical with inline error message and disabled save button - Gate "Debug & Logging" nav item behind power user mode in both desktop and mobile navs (was visible to all users before) New config fields exposed: - logging.file (log file path) - logging.redactPatterns (custom regex redaction patterns) - logging.journal.toolFilter (scope journal to specific tools) - logging.enhanced.gatewayHealthSuppressMethods (suppress health logs for specific RPC methods) UX improvements: - Channel autocomplete suggestions from useChannelsStatusFast() gateway data - Feature autocomplete suggestions from known codebase feature IDs - Extracted reusable TagListEditor component for string[] config fields - Quick-add badge chips for one-click channel/feature addition https://claude.ai/code/session_011WdpEacHmK1fMQMFiD3Szu * tests: relax cron timer timezone expectation * Fix journal toggle default and tool filter help text in DebugLoggingSection (openclaw#399) - Default the journal enabled toggle to true (was false), matching the runtime behavior where startJournalSubscriber treats undefined as enabled - Update tool filter help text to reflect actual backend default (DEFAULT_JOURNAL_TOOLS subset) instead of claiming "all tools" - Expand journal sub-settings when enabled field is unset (consistent with the new default-true toggle) https://claude.ai/code/session_011jGYfDDmG4hSUMkct6YsjR Co-authored-by: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix
/statusto show the configured model (or override) instead of the last-run model.Problem
/statuswas showingentry.modelwhich stores the model from the last agent run (e.g. a heartbeat on Haiku). This caused confusion when the configured model was different (e.g. Opus).Example:
agent.model.primary = "anthropic/claude-opus-4-5"/statusshowed "claude-haiku-4-5" ❌Fix
Use
modelOverride/providerOverride(user selection) orresolved(configured model) instead ofentry.model/entry.modelProvider(last-run model).Now
/statusshows:/modelagent.model.primary