Implements

  • ToolProvider

Constructors

Properties

getChatAgentService: (() => ChatAgentService)

Type declaration

getChatService: (() => ChatService)

Type declaration

ID: string = AGENT_DELEGATION_FUNCTION_ID

Methods

  • Bubbles the ChangeSet from the delegated session to the parent session.

    Parameters

    • delegatedSession: ChatSession

      The session from which to bubble changes

    • parentModel: MutableChatModel

      The parent session model to receive the bubbled changes

    • agentName: string

      The name of the agent for attribution purposes

    Returns void

  • Sets up monitoring of the ChangeSet in the delegated session and bubbles changes to the parent session.

    Parameters

    • delegatedSession: ChatSession

      The session created for the delegated agent

    • parentModel: MutableChatModel

      The parent session model that should receive the bubbled changes

    • agentName: string

      The name of the agent for attribution purposes

    Returns void