Skip to content

refactor(cli): derive inference --version choices from get_available_versions() - #132

Merged
DzmitryPihulski merged 1 commit into
LLMSQL:mainfrom
MilindLate:fix/inference-version-choices
Oct 9, 2026
Merged

DzmitryPihulski merged 1 commit into
LLMSQL:mainfrom
MilindLate:fix/inference-version-choices

Conversation

@MilindLate

Copy link
Copy Markdown
Contributor

Follow-up to the maintainer's suggestion on #120.

The inference subcommand had hard-coded choices=["1.0", "2.0"] for --version. This small refactor replaces that with get_available_versions() from llmsql.config, so adding a future benchmark version only requires a single config change rather than updates across multiple CLI files.

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@DzmitryPihulski DzmitryPihulski left a comment

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.

LGTM

@DzmitryPihulski

Copy link
Copy Markdown
Collaborator

Hi @MilindLate, thank you for following up on the suggestion from #120! Merged.

If you find LLMSQL useful, we'd be grateful if you could give the project a ⭐ on GitHub, it really helps us!

@DzmitryPihulski
DzmitryPihulski merged commit 13c5c4b into LLMSQL:main Oct 9, 2026
6 checks passed
anush-933 pushed a commit to anush-933/llmsql-benchmark that referenced this pull request Oct 10, 2026
… from config)

Attribution-only commit: the commits of LLMSQL#132 were authored with a
placeholder email (milindlate@example.com) that is not linked to the
contributor's GitHub account, so they did not appear in the repository's
contributors list.
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.

2 participants