Compare commits
1 commit
v0.5-mmap2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d0c59c5c6 |
2 changed files with 4 additions and 3 deletions
|
|
@ -10,8 +10,8 @@ android {
|
||||||
applicationId = "de.ody"
|
applicationId = "de.ody"
|
||||||
minSdk = 28
|
minSdk = 28
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 5
|
versionCode = 6
|
||||||
versionName = "0.5.0"
|
versionName = "0.6.0"
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
|
|
||||||
|
|
@ -741,8 +741,9 @@ fun ODYChatScreen(
|
||||||
)
|
)
|
||||||
return@launch
|
return@launch
|
||||||
}
|
}
|
||||||
|
val noThinkSuffix = if (currentModelId?.contains("qwen3", ignoreCase = true) == true) "\n/no_think" else ""
|
||||||
val request = GenerationRequest(
|
val request = GenerationRequest(
|
||||||
userMessage = userText,
|
userMessage = userText + noThinkSuffix,
|
||||||
systemPrompt = null,
|
systemPrompt = null,
|
||||||
history = messages.dropLast(1)
|
history = messages.dropLast(1)
|
||||||
.filter { it.state == MessageState.COMPLETE }
|
.filter { it.state == MessageState.COMPLETE }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue