Skip to content

Commit

Permalink
fix: pull api (#1445)
Browse files Browse the repository at this point in the history
* chore: change update to patch

* fix: swagger

* fix: pull api
  • Loading branch information
vansangpfiev authored Oct 7, 2024
1 parent 9363761 commit 1bf9404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/services/model_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ cpp::result<std::string, std::string> ModelService::DownloadModelFromCortexso(
}

std::string model_id{name + ":" + branch};
auto on_finished = [&](const DownloadTask& finishedTask) {
auto on_finished = [&, model_id](const DownloadTask& finishedTask) {
const DownloadItem* model_yml_item = nullptr;
auto need_parse_gguf = true;

Expand Down

0 comments on commit 1bf9404

Please sign in to comment.