Skip to content

Commit

Permalink
Fix Ollama code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez committed May 6, 2024
1 parent 2195610 commit 8b9eb0c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ public void downloadModelAndCommitToImage() throws IOException, InterruptedExcep
// }
}
try (
// spotless:off
// substitute {
OllamaContainer ollama = new OllamaContainer(
DockerImageName.parse(newImageName).asCompatibleSubstituteFor("ollama/ollama")
DockerImageName.parse(newImageName)
.asCompatibleSubstituteFor("ollama/ollama")
)
// }
// spotless:on
) {
ollama.start();
String modelName = given()
Expand Down

0 comments on commit 8b9eb0c

Please sign in to comment.