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

Commit 1bf9404

Browse files
authored
fix: pull api (#1445)
* chore: change update to patch * fix: swagger * fix: pull api
1 parent 9363761 commit 1bf9404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/services/model_service.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ cpp::result<std::string, std::string> ModelService::DownloadModelFromCortexso(
310310
}
311311

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

0 commit comments

Comments
 (0)