@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
11 lines • 515 B
TypeScript
import type { AgentBackgroundConfig, ToolBackgroundConfig } from './types.js';
/**
* Generates the system prompt section that tells the LLM about background task capabilities.
*
* Returns undefined if no tools are background-eligible (nothing to inject).
*/
export declare function generateBackgroundTaskSystemPrompt(tools: Record<string, {
background?: ToolBackgroundConfig;
description?: string;
}>, agentConfig?: AgentBackgroundConfig): string | undefined;
//# sourceMappingURL=system-prompt.d.ts.map