taskforce-aiagent
Version:
TaskForce is a modular, open-source, production-ready TypeScript agent framework for orchestrating AI agents, LLM-powered autonomous agents, task pipelines, dynamic toolchains, RAG workflows and memory/retrieval systems.
10 lines (9 loc) • 347 B
TypeScript
import { ChatMessage } from "../llm/aiClient.js";
/**
* Summarizes a single long output string for memory storage.
*/
export declare function generateMemorySummary(output: string): Promise<string>;
/**
* Summarizes previous ChatMessage[] context.
*/
export declare function summarizeOldMessages(messages: ChatMessage[]): Promise<ChatMessage>;