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"
|
||||
minSdk = 28
|
||||
targetSdk = 36
|
||||
versionCode = 5
|
||||
versionName = "0.5.0"
|
||||
versionCode = 6
|
||||
versionName = "0.6.0"
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
signingConfigs {
|
||||
|
|
|
|||
|
|
@ -741,8 +741,9 @@ fun ODYChatScreen(
|
|||
)
|
||||
return@launch
|
||||
}
|
||||
val noThinkSuffix = if (currentModelId?.contains("qwen3", ignoreCase = true) == true) "\n/no_think" else ""
|
||||
val request = GenerationRequest(
|
||||
userMessage = userText,
|
||||
userMessage = userText + noThinkSuffix,
|
||||
systemPrompt = null,
|
||||
history = messages.dropLast(1)
|
||||
.filter { it.state == MessageState.COMPLETE }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue