forked from Mirror/ollama4j
		
	Switch image model to "moondream" in integration test
This commit is contained in:
		@@ -520,7 +520,7 @@ public class OllamaAPIIntegrationTest {
 | 
			
		||||
    @Test
 | 
			
		||||
    @Order(19)
 | 
			
		||||
    void testChatWithImageFromFileWithHistoryRecognition() throws OllamaBaseException, IOException, URISyntaxException, InterruptedException {
 | 
			
		||||
        String imageModel = "llava";
 | 
			
		||||
        String imageModel = "moondream";
 | 
			
		||||
        api.pullModel(imageModel);
 | 
			
		||||
        OllamaChatRequestBuilder builder =
 | 
			
		||||
                OllamaChatRequestBuilder.getInstance(imageModel);
 | 
			
		||||
@@ -531,7 +531,6 @@ public class OllamaAPIIntegrationTest {
 | 
			
		||||
        OllamaChatResult chatResult = api.chat(requestModel);
 | 
			
		||||
        assertNotNull(chatResult);
 | 
			
		||||
        assertNotNull(chatResult.getResponseModel());
 | 
			
		||||
 | 
			
		||||
        builder.reset();
 | 
			
		||||
 | 
			
		||||
        requestModel =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user