mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-11-02 17:40:41 +01:00
Switch image model to "moondream" in integration test
This commit is contained in:
@@ -520,7 +520,7 @@ public class OllamaAPIIntegrationTest {
|
|||||||
@Test
|
@Test
|
||||||
@Order(19)
|
@Order(19)
|
||||||
void testChatWithImageFromFileWithHistoryRecognition() throws OllamaBaseException, IOException, URISyntaxException, InterruptedException {
|
void testChatWithImageFromFileWithHistoryRecognition() throws OllamaBaseException, IOException, URISyntaxException, InterruptedException {
|
||||||
String imageModel = "llava";
|
String imageModel = "moondream";
|
||||||
api.pullModel(imageModel);
|
api.pullModel(imageModel);
|
||||||
OllamaChatRequestBuilder builder =
|
OllamaChatRequestBuilder builder =
|
||||||
OllamaChatRequestBuilder.getInstance(imageModel);
|
OllamaChatRequestBuilder.getInstance(imageModel);
|
||||||
@@ -531,7 +531,6 @@ public class OllamaAPIIntegrationTest {
|
|||||||
OllamaChatResult chatResult = api.chat(requestModel);
|
OllamaChatResult chatResult = api.chat(requestModel);
|
||||||
assertNotNull(chatResult);
|
assertNotNull(chatResult);
|
||||||
assertNotNull(chatResult.getResponseModel());
|
assertNotNull(chatResult.getResponseModel());
|
||||||
|
|
||||||
builder.reset();
|
builder.reset();
|
||||||
|
|
||||||
requestModel =
|
requestModel =
|
||||||
|
|||||||
Reference in New Issue
Block a user