enh(tools): /status reports tool_filter state when enabled (#2028)#2051
Merged
enh(tools): /status reports tool_filter state when enabled (#2028)#2051
Conversation
Add public accessor methods to ToolSchemaFilter (top_k, always_on_count) and display filter configuration in /status output when enabled. Output shows: Filter: enabled (top_k=N, always_on=N, N embeddings) Label alignment matches existing 10-char column width. Silent when filter is disabled (default) for zero noise. - crates/zeph-tools/src/schema_filter.rs: Add accessors + test - crates/zeph-core/src/agent/mod.rs: Add conditional Filter line to /status - CHANGELOG.md: Document change
bde5b9e to
57f3693
Compare
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
Add visibility into dynamic tool schema filter state in the
/statuscommand.When
[agent.tool_filter]is enabled,/statusnow displays:When disabled (default), the line is omitted (zero noise).
Changes
pub fn top_k()andpub fn always_on_count()accessor methods with unit testhandle_status_command()outputTesting
Validation
Closes #2028