Skip to content

Commit

Permalink
Configure the Ollama logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Jan 19, 2024
1 parent 29db5c1 commit 6713144
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public Supplier<?> chatModel(Langchain4jOllamaConfig runtimeConfig) {
.baseUrl(runtimeConfig.baseUrl())
.timeout(runtimeConfig.timeout())
.model(chatModelConfig.modelId())
.logRequests(runtimeConfig.logRequests())
.logResponses(runtimeConfig.logResponses())
.options(optionsBuilder.build());

return new Supplier<>() {
Expand Down

0 comments on commit 6713144

Please sign in to comment.