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

Commit bb18a9e

Browse files
chore: fix windows build (#469)
Co-authored-by: sangjanai <[email protected]>
1 parent c780a56 commit bb18a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama_engine.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ bool LlamaEngine::LoadModelImpl(std::shared_ptr<Json::Value> json_body) {
594594
#if defined(_WIN32)
595595
std::wstring mp_ws = Utf8ToWstring(model_path.asString());
596596
if (std::filesystem::exists(std::filesystem::path(mp_ws))) {
597-
params.model = WstringToUtf8(mp_ws);
597+
params.model.path = WstringToUtf8(mp_ws);
598598
#else
599599
if (std::filesystem::exists(
600600
std::filesystem::path(model_path.asString()))) {

0 commit comments

Comments
 (0)