Protected
additionalProtected
chatProtected
contentProtected
contentProtected
defaultProtected
defaultProtected
languageProtected
languageProtected
loggerProtected
promptProtected
systemProtected
toolProtected
addProtected
addProtected
createCreates a ToolCallChatResponseContent instance from the provided tool call data.
This method is called when parsing stream response tokens that contain tool call data. Subclasses can override this method to customize the creation of tool call response contents.
The ToolCall.
A ChatResponseContent representing the tool call.
Protected
getProtected
getProtected
getProtected
getProtected
getProtected
handleProtected
initializeProtected
onInvoked after the response by the LLM completed successfully.
The default implementation sets the state of the response to complete
.
Subclasses may override this method to perform additional actions or keep the response open for processing further requests.
Protected
parseProtected
parseProtected
selectProtected
send
A chat agent is a specialized agent with a common interface for its invocation.