Uses of Class
com.google.genkit.ai.agent.AgentResponse
Packages that use AgentResponse
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of AgentResponse in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return AgentResponseModifier and TypeMethodDescriptionResumes a paused turn by restarting its interrupted tool requests.Resumes a paused turn by responding to its interrupts.AgentChat.send(AgentInput input) Sends a fully-formed input and returns the turn's response.Sends a user text message and returns the turn's response.AgentChat.sendStream(AgentInput input, Consumer<AgentChunk<S>> onChunk) Sends a fully-formed input, streaming chunks toonChunk, and returns the final response.AgentChat.sendStream(String text, Consumer<AgentChunk<S>> onChunk) Sends a user text message, streaming chunks toonChunk, and returns the final response.