From 681a692ca98c66d2a0b1f9a58fc25c82f799db61 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Tue, 18 Mar 2025 23:18:42 +0530 Subject: [PATCH] Updated integration tests --- .../ollama4j/integrationtests/OllamaAPIIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java b/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java index 086f151..cbdecbe 100644 --- a/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java +++ b/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java @@ -203,12 +203,12 @@ public class OllamaAPIIntegrationTest { @Test @Order(10) public void testChat() throws Exception { - String chatModel = "qwen2.5:0.5b"; + String chatModel = "llama3"; api.pullModel(chatModel); OllamaChatRequestBuilder builder = OllamaChatRequestBuilder.getInstance(chatModel); // Create the initial user question - OllamaChatRequest requestModel = builder.withMessage(OllamaChatMessageRole.USER, "What is 1+1?") + OllamaChatRequest requestModel = builder.withMessage(OllamaChatMessageRole.USER, "What is 1+1? Answer only in numbers.") .build(); // Start conversation with model