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 76df427 commit 17d8cb2Copy full SHA for 17d8cb2
apps/Android/MnnLlmChat/app/src/main/java/com/alibaba/mnnllm/android/llm/LlmSession.kt
@@ -62,6 +62,7 @@ class LlmSession (
62
val configMap = HashMap<String, Any>().apply {
63
put("is_r1", ModelUtils.isR1Model(modelId))
64
put("mmap_dir", rootCacheDir ?: "")
65
+ put("keep_history", keepHistory)
66
}
67
val extraConfig = ModelConfig.loadConfig(configPath, getModelSettingsFile())?.apply {
68
this.assistantPromptTemplate = extraAssistantPrompt
@@ -169,8 +170,6 @@ class LlmSession (
169
170
listener: GenerateProgressListener
171
): HashMap<String, Any>
172
-
173
174
private external fun resetNative(instanceId: Long)
175
176
private external fun getDebugInfoNative(instanceId: Long): String
0 commit comments