GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — AgentTransferLlmRequestProcessor | ADK for TypeScript: API Reference - v2.5.0

  • AgentTransferLlmRequestProcessor

Class AgentTransferLlmRequestProcessor

Augments the LlmRequest to support agent transfer. When the current agent has reachable transfer targets (sub-agents, peer agents, or a parent agent), this processor registers a transfer_to_agent function tool and appends instructions describing each candidate so the model can choose to hand off control.

Hierarchy (View Summary)

  • BaseLlmRequestProcessor
    • AgentTransferLlmRequestProcessor
  • Defined in core/src/agents/processors/agent_transfer_llm_request_processor.ts:24

Constructors

constructor

  • new AgentTransferLlmRequestProcessor(): AgentTransferLlmRequestProcessor

    Returns AgentTransferLlmRequestProcessor

    Inherited from BaseLlmRequestProcessor.constructor

Methods

runAsync

  • runAsync(
        invocationContext: InvocationContext,
        llmRequest: LlmRequest,
    ): AsyncGenerator<Event, void, void>

    Appends transfer instructions and registers the transfer_to_agent tool when the agent has reachable transfer targets.

    Parameters

    • invocationContext: InvocationContext

      The current invocation context.

    • llmRequest: LlmRequest

      The request to augment with transfer instructions and the transfer tool.

    Returns AsyncGenerator<Event, void, void>

    Overrides BaseLlmRequestProcessor.runAsync

    • Defined in core/src/agents/processors/agent_transfer_llm_request_processor.ts:70
Constructors
constructor
Methods
runAsync
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.