Update OllamaAPIIntegrationTest.java

This commit is contained in:
amithkoujalgi
2025-08-30 12:14:09 +05:30
parent 3d0b3eeb7f
commit f085b633af

View File

@@ -245,7 +245,7 @@ public class OllamaAPIIntegrationTest {
OllamaChatRequest requestModel = builder.withMessage(OllamaChatMessageRole.SYSTEM,
"You are a silent bot that only says 'Shush'. Do not say anything else under any circumstances!")
.withMessage(OllamaChatMessageRole.USER, "What's something that's brown and sticky?")
.withOptions(new OptionsBuilder().setTemperature(0.8f).build()).build();
.withOptions(new OptionsBuilder().setTemperature(0.1f).build()).build();
OllamaChatResult chatResult = api.chat(requestModel);
assertNotNull(chatResult);