Uses of Class
com.google.genkit.ai.agent.AgentStreamChunk
Packages that use AgentStreamChunk
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 AgentStreamChunk in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return AgentStreamChunkModifier and TypeMethodDescriptionAgentStreamChunk.Builder.build()AgentChunk.raw()Returns the underlying raw stream chunk.Methods in com.google.genkit.ai.agent that return types with arguments of type AgentStreamChunkModifier and TypeMethodDescriptionAgentFnContext.sendChunk()Returns the stream-chunk emitter for this invocation.Method parameters in com.google.genkit.ai.agent with type arguments of type AgentStreamChunkModifier and TypeMethodDescriptionAgent.run(ActionContext ctx, AgentInput input, Consumer<AgentStreamChunk> cb) Agent.runBidi(ActionContext ctx, AgentInit<S> init, InputSource<AgentInput> inputs, Consumer<AgentStreamChunk> streamCallback) AgentTransport.runTurn(AgentInput input, AgentInit<S> init, Consumer<AgentStreamChunk> onChunk) Runs ONE turn: feedsinputwithinit, collects stream chunks viaonChunk, and returns the final output.Constructor parameters in com.google.genkit.ai.agent with type arguments of type AgentStreamChunkModifierConstructorDescriptionAgent(BidiActionImpl<AgentInput, AgentOutput<S>, AgentStreamChunk, AgentInit<S>> impl, SessionStore<S> store, boolean serverManaged, Action<?, ?, ?> snapshotAction, Action<?, ?, ?> abortAction, ClientTransform<S> clientTransform, SessionStoreOptions opts, String name, String description, Registry registry) Constructs an Agent.AgentFnContext(Consumer<AgentStreamChunk> sendChunk, AtomicBoolean abortSignal) Constructs an AgentFnContext without an ActionContext.AgentFnContext(Consumer<AgentStreamChunk> sendChunk, AtomicBoolean abortSignal, ActionContext context) Constructs an AgentFnContext.AgentFnContext(Consumer<AgentStreamChunk> sendChunk, AtomicBoolean abortSignal, ActionContext context, ToolResume resume) Constructs an AgentFnContext with resume data. -
Uses of AgentStreamChunk in com.google.genkit.ai.agent.internal
Method parameters in com.google.genkit.ai.agent.internal with type arguments of type AgentStreamChunkModifier and TypeMethodDescriptionInProcessTransport.runTurn(AgentInput input, AgentInit<S> init, Consumer<AgentStreamChunk> onChunk) Constructor parameters in com.google.genkit.ai.agent.internal with type arguments of type AgentStreamChunkModifierConstructorDescriptionStreamEmitter(Consumer<AgentStreamChunk> sink, com.fasterxml.jackson.databind.ObjectMapper mapper) Constructs a new StreamEmitter. -
Uses of AgentStreamChunk in com.google.genkit.client
Method parameters in com.google.genkit.client with type arguments of type AgentStreamChunkModifier and TypeMethodDescriptionHttpAgentTransport.runTurn(AgentInput input, AgentInit<S> init, Consumer<AgentStreamChunk> onChunk)