Uses of Class
com.google.genkit.plugins.middleware.internal.Delegation.Result
Packages that use Delegation.Result
-
Uses of Delegation.Result in com.google.genkit.plugins.middleware.internal
Methods in com.google.genkit.plugins.middleware.internal that return Delegation.ResultModifier and TypeMethodDescriptionstatic Delegation.ResultDelegation.run(ActionContext ctx, String agentName, String task, boolean includeArtifactContent, int historyLength) Runs the sub-agent namedagentNamefor a single turn withtaskas the user message, merges any produced artifacts (namespaced by a fresh invocation id) into the active parent session, and returns the sub-agent's text plus the (namespaced) artifacts.