UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and

14 lines (13 loc) 608 B
/** * Message Builder Utility * Centralized logic for building message arrays from TextGenerationOptions */ import type { ChatMessage } from "../types/conversationTypes.js"; import type { TextGenerationOptions } from "../core/types.js"; import type { StreamOptions } from "../types/streamTypes.js"; /** * Build a properly formatted message array for AI providers * Combines system prompt, conversation history, and current user prompt * Supports both TextGenerationOptions and StreamOptions */ export declare function buildMessagesArray(options: TextGenerationOptions | StreamOptions): ChatMessage[];