UNPKG

@hashgraphonline/conversational-agent

Version:

Hashgraph Online conversational AI agent implementing HCS-10 communication, HCS-2 registries, and content inscription on Hedera

15 lines (13 loc) 562 B
import { AgentExecutor } from 'langchain/agents'; /** * Custom AgentExecutor that intercepts large tool outputs and converts them to content references * before they are sent to the LLM to avoid token limit issues. * * Note: The content reference conversion is already handled in the MCP adapter, * so this class currently just extends AgentExecutor without modifications. * We keep it as a placeholder for future enhancements. */ export declare class ContentAwareAgentExecutor extends AgentExecutor { private logger; constructor(config: any); }