We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fbf443 commit 5738e2eCopy full SHA for 5738e2e
1 file changed
app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningViewModel.kt
@@ -1118,7 +1118,7 @@ class PhotoReasoningViewModel(
1118
messages = apiMessages,
1119
temperature = genSettings.temperature.toDouble().coerceAtLeast(0.01),
1120
top_p = genSettings.topP.toDouble().coerceAtLeast(0.01),
1121
- max_tokens = 4096,
+ max_tokens = 50000,
1122
stream = true
1123
)
1124
val jsonBody = jsonSerializer.encodeToString(MistralRequest.serializer(), requestBody)
@@ -1291,7 +1291,7 @@ class PhotoReasoningViewModel(
1291
1292
temperature = genSettings.temperature.toDouble(),
1293
top_p = genSettings.topP.toDouble(),
1294
+ max_tokens = null,
1295
1296
1297
0 commit comments