Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llm models -q X search option #700

Closed
simonw opened this issue Jan 9, 2025 · 2 comments
Closed

llm models -q X search option #700

simonw opened this issue Jan 9, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Jan 9, 2025

I keep wanting to search my model list - I often to llm models | grep 'something'

llm logs -q term already establishes a -q for query pattern.

@simonw simonw added the enhancement New feature or request label Jan 9, 2025
@simonw
Copy link
Owner Author

simonw commented Jan 9, 2025

It's going to do a case-insensitive substring match, nothing fancier.

@simonw simonw closed this as completed in b452eff Jan 9, 2025
@simonw
Copy link
Owner Author

simonw commented Jan 9, 2025

Updated docs: https://github.com/simonw/llm/blob/b452effa0966c1962e73cc761ffa3ba8268b75a0/docs/usage.md#listing-available-models

And:

llm/docs/help.md

Lines 328 to 336 in b452eff

Usage: llm models list [OPTIONS]
List available models
Options:
--options Show options for each model, if available
--async List async models
-q, --query TEXT Search for models matching this string
--help Show this message and exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant