Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

chore: small refactor for /models/pull - #2144

Open
gau-nernst wants to merge 8 commits into
devfrom
thien/model_pull
Open

gau-nernst wants to merge 8 commits into
devfrom
thien/model_pull

Conversation

@gau-nernst

@gau-nernst gau-nernst commented Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

Describe Your Changes

  • Move model pull logic from controller to service
  • Thanks to the above, we can make DownloadModelFromCortexsoAsync() and HandleDownloadUrlAsync() private methods
  • Add test for /models/pull with author_id:model_id:GGUF_filename format.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@gau-nernst
gau-nernst requested a review from vansangpfiev March 18, 2025 10:28
@github-actions

github-actions Bot commented Mar 19, 2025 •

Copy link
Copy Markdown
Contributor

Preview URL: https://f9ad937d.cortex-docs.pages.dev

This branch was successfully deployed

1 active deployment
cortex-docs (Preview) — 1a080f9c Deployed Mar 19, 2025 by github-actions[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants