Skip to content

Commit 84e9a39

Browse files
Fix inconsistency in JavaDoc
1 parent 2ec4bc1 commit 84e9a39

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/java/org/vonderheidt/hips/utils

1 file changed

+2
-2
lines changed

app/src/main/java/org/vonderheidt/hips/utils/LlamaCpp.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ object LlamaCpp {
117117
// Declare the native methods called via JNI as Kotlin external functions
118118

119119
/**
120-
* Wrapper for the `llama_load_model_from_file` function of llama.cpp. Loads the LLM into memory.
120+
* Wrapper for the `llama_model_load_from_file` function of llama.cpp. Loads the LLM into memory.
121121
*
122122
* @param path Path to the LLM (.gguf file).
123123
* @return Memory address of the LLM.
124124
*/
125125
private external fun loadModel(path: String = this.path): Long
126126

127127
/**
128-
* Wrapper for the `llama_free_model` function of llama.cpp. Unloads the LLM from memory.
128+
* Wrapper for the `llama_model_free` function of llama.cpp. Unloads the LLM from memory.
129129
*
130130
* @param model Memory address of the LLM.
131131
*/

0 commit comments

Comments
 (0)