Repository navigation
Conversation
The glob `path` description was the only tool parameter in the repo carrying an `IMPORTANT: ... DO NOT enter "undefined" or "null"` block. Grammar-constrained local backends can destabilise on it: anomalyco#44489 reports Qwen3-Coder through llama.cpp emitting repeated text, malformed tool calls and degenerate `?` arguments for glob, all of which stop once the description is simplified. Match the wording already used by the neighbouring grep tool and by the v2 glob tool in packages/core. The "must be a valid directory path" hint is kept because the tool really does throw when the path is not a directory.
rareboe
force-pushed
the
fix/44489-glob-path-description
branch
from
September 29, 2026 15:33
93bf9e7 to
2787f03
Compare
This branch has not been deployed
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.
Issue for this PR
Closes #44489
Type of change
What does this PR do?
Shortens the glob
pathdescription, dropping theIMPORTANT: ... DO NOT enter "undefined" or "null"block that destabilised Qwen3-Coder via llama.cpp (#44489). The wording now matchesgrepand the v2 glob tool. No behaviour change.How did you verify your code works?
The parameters snapshot shows only this string changed.
bun test test/toolpasses.Screenshots / recordings
N/A
Checklist