Skip to content

fix: binary-split gguf URL name extraction - #662

Merged
giladgd merged 1 commit into
withcatai:masterfrom
SashaMIT:codered-split-gguf
Sep 28, 2026
Merged

giladgd merged 1 commit into
withcatai:masterfrom
SashaMIT:codered-split-gguf

Conversation

@SashaMIT

@SashaMIT SashaMIT commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • resolveBinarySplitGgufPartUrls("https://example.com/models/old.gguf/new.gguf.part1of2") returned URLs for old.gguf.part1of2 and old.gguf.part2of2. The cut used the first .gguf in the path.
  • The part suffix is now the cut. The same path keeps new.gguf, and the filename is new.gguf. A path with one .gguf is unchanged.

Test plan

  • vitest on test/standalone/utils/modelDownloader.test.ts, 4 passed.

A path like models/old.gguf/new.gguf.part1of2 was expanded from the first .gguf, so the download URLs dropped new.gguf.

@giladgd giladgd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR!

@giladgd giladgd changed the title Cut binary GGUF part URLs at the matched suffix fix: cut binary GGUF part URLs at the matched suffix Sep 27, 2026
@giladgd giladgd changed the title fix: cut binary GGUF part URLs at the matched suffix fix: binary-split gguf URL name extraction Sep 28, 2026
@giladgd
giladgd merged commit df534ff into withcatai:master Sep 28, 2026
18 of 20 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.22.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@SashaMIT

Copy link
Copy Markdown
Contributor Author

Thanks for merging this.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants