This commit is contained in:
Markus Klenke
2024-12-04 22:28:00 +01:00
parent a09f1362e9
commit 726fea5b74
2 changed files with 13 additions and 1 deletions

View File

@@ -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() {