mmap22: /no_think Token für Qwen3, versionCode=6

This commit is contained in:
ODY Build 2026-07-21 09:32:48 +00:00
parent 2dbd4f895b
commit 4d0c59c5c6
2 changed files with 4 additions and 3 deletions

View file

@ -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 {

View file

@ -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 }