feat: add messages.suppressToolErrors config option#16620
Merged
Conversation
Contributor
akoscz
pushed a commit
to akoscz/openclaw
that referenced
this pull request
Feb 15, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9ae4394 Co-authored-by: vai-oro <258511217+vai-oro@users.noreply.github.com> Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com> Reviewed-by: @sebslight
GwonHyeok
pushed a commit
to learners-superpumped/openclaw
that referenced
this pull request
Feb 15, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9ae4394 Co-authored-by: vai-oro <258511217+vai-oro@users.noreply.github.com> Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com> Reviewed-by: @sebslight
lovewanwan
pushed a commit
to lovewanwan/openclaw
that referenced
this pull request
Apr 28, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9ae4394 Co-authored-by: vai-oro <258511217+vai-oro@users.noreply.github.com> Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com> Reviewed-by: @sebslight
This was referenced Apr 28, 2026
ogt-redknie
pushed a commit
to ogt-redknie/OPENX
that referenced
this pull request
May 2, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9ae4394 Co-authored-by: vai-oro <258511217+vai-oro@users.noreply.github.com> Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com> Reviewed-by: @sebslight
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 2026
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 9ae4394 Co-authored-by: vai-oro <258511217+vai-oro@users.noreply.github.com> Co-authored-by: sebslight <19554889+sebslight@users.noreply.github.com> Reviewed-by: @sebslight
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
⚠️ tool failed: ...warning to the user. However, the agent already sees these errors in its context and typically handles them by retrying or using alternatives. These warnings clutter the chat and confuse end users.messages.suppressToolErrorsboolean config option (default:false) that prevents non-mutating tool-error warnings from being sent to the user when enabled. Mutating tool errors are always surfaced regardless of this setting.Change Type
Scope
User-visible / Behavior Changes
New config option:
When enabled, non-mutating tool error warnings are suppressed from user-facing chat. Default:
false(no behavior change).Security Impact
Verification
suppressToolErrors: trueCompatibility / Migration
Failure Recovery
messages.suppressToolErrors: false(or remove the key) to restore default behaviorRisks and Mitigations
Greptile Overview
Greptile Summary
Adds
messages.suppressToolErrorsconfig option to hide non-mutating tool error warnings from users while keeping them visible to the agent. Implementation correctly preserves existing behavior when disabled (default) and ensures mutating tool errors are always surfaced regardless of the setting.MessagesConfigtype with clear documentationConfidence Score: 5/5
Last reviewed commit: 674a320
(2/5) Greptile learns from your feedback when you react with thumbs up/down!