Class OllamaToolError
java.lang.Object
me.neurodock.ollama.OllamaMessage
me.neurodock.ollama.OllamaToolError
Represents an error from a tool.
This is used by a tool to indicate to Ollama that an error occurred.
This is used by a tool to indicate to Ollama that an error occurred.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OllamaMessage
getContent, getRole, toString
-
Constructor Details
-
OllamaToolError
Creates a new instance of OllamaToolError.- Parameters:
error- The error from the tool
-
-
Method Details
-
getError
-