UNPKG

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.

16 lines (15 loc) 556 B
import { SupportedModel, SupportedModelProvider } from "./enum.js"; export type LLMModel = { name: string; provider: SupportedModelProvider; supportsTools: boolean; maxContextTokens: number; }; export interface LLMRoute { apiKey?: string; baseUrl?: string; model: LLMModel; } export declare const aiConfig: Record<string, LLMRoute>; export declare function getLLMModelByName(modelName: SupportedModel | string): LLMRoute["model"] | undefined; export declare function getLLMRouteByModel(modelName: string): LLMRoute | undefined;