UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

9 lines (8 loc) 351 B
/** * Stage 1: Tool Output Pruning * * Walk messages backwards, protect recent tool output tokens, * replace older tool results with "[Tool result cleared]". */ import type { ChatMessage, PruneConfig, PruneResult } from "../../types/index.js"; export declare function pruneToolOutputs(messages: ChatMessage[], config?: PruneConfig): PruneResult;