Skip to content

autocomplete cli for tests and models#683

Open
joehart2001 wants to merge 2 commits into
mainfrom
autocomplete-tests-models
Open

autocomplete cli for tests and models#683
joehart2001 wants to merge 2 commits into
mainfrom
autocomplete-tests-models

Conversation

@joehart2001

Copy link
Copy Markdown
Collaborator

Pre-review checklist for PR author

PR author must check the checkboxes below when creating the PR.

Summary

Linked issue

Resolves #

Testing

@joehart2001 joehart2001 requested a review from ElliottKasoar July 8, 2026 14:18
Comment thread ml_peg/cli/cli.py Outdated

from ml_peg.models import MODELS_ROOT

with open(MODELS_ROOT / "models.yml", encoding="utf8") as handle:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We probably want to do something closer to what we do in list_models where we use the models_file (so the models we autocomplete with is from the correct list) and get_model_names, (so we're not rewriting parsing, if we need to change something)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

what do you think now?

@ElliottKasoar ElliottKasoar added the enhancement New feature or request label Jul 9, 2026
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

Successfully merging this pull request may close these issues.

2 participants