We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce1863 commit 427c87cCopy full SHA for 427c87c
app/src/main/cpp/hips.cpp
@@ -102,7 +102,7 @@ extern "C" JNIEXPORT jlong JNICALL Java_org_vonderheidt_hips_utils_LlamaCpp_load
102
llama_context_params params = llama_context_default_params();
103
104
// Create context with the LLM (=> context knows its state) and save pointer to it
105
- llama_context* cppCtx = llama_new_context_with_model(cppModel, params);
+ llama_context* cppCtx = llama_init_from_model(cppModel, params);
106
107
// Log success or error message
108
if (cppCtx != nullptr) {
0 commit comments