Skip to content

Make sure the model name is always lowcase#37

Merged
InftyAI-Agent merged 1 commit intoInftyAI:mainfrom
kerthcet:cleanup/fix-model-name
Apr 25, 2026
Merged

Make sure the model name is always lowcase#37
InftyAI-Agent merged 1 commit intoInftyAI:mainfrom
kerthcet:cleanup/fix-model-name

Conversation

@kerthcet
Copy link
Copy Markdown
Member

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Does this PR introduce a user-facing change?


Signed-off-by: kerthcet <kerthcet@gmail.com>
Copilot AI review requested due to automatic review settings April 25, 2026 15:50
@kerthcet
Copy link
Copy Markdown
Member Author

/lgtm
/kind cleanup

@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Looks good to me, indicates that a PR is ready to be merged. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Apr 25, 2026
@InftyAI-Agent InftyAI-Agent removed the do-not-merge/needs-kind Indicates a PR lacks a label and requires one. label Apr 25, 2026
@InftyAI-Agent InftyAI-Agent merged commit 3347dd2 into InftyAI:main Apr 25, 2026
43 of 44 checks passed
@kerthcet kerthcet deleted the cleanup/fix-model-name branch April 25, 2026 15:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to ensure model names are consistently lowercased when invoking the Hugging Face downloader, improving cache/registry consistency for user-provided model IDs.

Changes:

  • Lowercase the model name before calling download_model() in the pull CLI flow (Hugging Face provider).
  • Expand the README installation section to include cargo install and add a more detailed “build from source” walkthrough.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/cli/commands.rs Lowercases pull model argument before invoking the Hugging Face download path.
README.md Updates installation instructions (Cargo install + source build steps).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants