From d55d1c0fd9ea6b14abbbb1152e4dae773ffa04ad Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Sun, 19 Oct 2025 14:34:21 +0530 Subject: [PATCH] Update Javadoc comments in Ollama and Agent classes to reflect correct method references for chat request construction and agent instantiation. --- src/main/java/io/github/ollama4j/Ollama.java | 2 +- src/main/java/io/github/ollama4j/agent/Agent.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/github/ollama4j/Ollama.java b/src/main/java/io/github/ollama4j/Ollama.java index e79f53d..cfbdf41 100644 --- a/src/main/java/io/github/ollama4j/Ollama.java +++ b/src/main/java/io/github/ollama4j/Ollama.java @@ -862,7 +862,7 @@ public class Ollama { /** * Sends a chat request to a model using an {@link OllamaChatRequest} and sets up streaming response. - * This can be constructed using an {@link OllamaChatRequestBuilder}. + * This can be constructed using an {@link OllamaChatRequest#builder()}. * *

Note: the OllamaChatRequestModel#getStream() property is not implemented. * diff --git a/src/main/java/io/github/ollama4j/agent/Agent.java b/src/main/java/io/github/ollama4j/agent/Agent.java index f9fdf7c..5712cdf 100644 --- a/src/main/java/io/github/ollama4j/agent/Agent.java +++ b/src/main/java/io/github/ollama4j/agent/Agent.java @@ -32,8 +32,8 @@ import lombok.*; *

Usage

* * */