Compare commits

...

1 commit

Author SHA1 Message Date
ODY Build
4d0c59c5c6 mmap22: /no_think Token für Qwen3, versionCode=6 2026-07-21 09:32:48 +00:00
2 changed files with 4 additions and 3 deletions

View file

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

View file

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