forked from Mirror/ollama4j
		
	Fixes #79
This commit is contained in:
		@@ -80,6 +80,18 @@ class TestRealAPIs {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    @Order(2)
 | 
			
		||||
    void testListModelsFromLibrary() {
 | 
			
		||||
        testEndpointReachability();
 | 
			
		||||
        try {
 | 
			
		||||
            assertNotNull(ollamaAPI.listModelsFromLibrary());
 | 
			
		||||
            ollamaAPI.listModelsFromLibrary().forEach(System.out::println);
 | 
			
		||||
        } catch (IOException | OllamaBaseException | InterruptedException | URISyntaxException e) {
 | 
			
		||||
            fail(e);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    @Order(2)
 | 
			
		||||
    void testPullModel() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user