Skip to content

fix: handle agent filter wildcard#241

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/agent-filter-single-wildcard
Open

fix: handle agent filter wildcard#241
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/agent-filter-single-wildcard

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • handle a single * agent filter as a match-all glob before slicing wildcard patterns
  • add a CLI integration regression for cortex agent list --filter '*' --json

Related to PlatformNetwork/bounty-challenge#45640.

Tests

  • cargo test -p cortex-cli --test agent_filter agent_list_single_wildcard_filter_does_not_panic -- --nocapture
  • cargo check -p cortex-cli
  • cargo fmt --check --package cortex-cli
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant