@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
11 lines • 535 B
TypeScript
import type { RequestContext } from '../request-context/index.js';
import type { InstructionsOption } from './types.js';
/**
* Resolve an instructions override against default instructions.
*
* - `undefined` → return default
* - `string` → return the string as-is
* - `function` → call with { defaultInstructions, requestContext }
*/
export declare function resolveInstructions(override: InstructionsOption | undefined, getDefault: () => string, requestContext?: RequestContext): string;
//# sourceMappingURL=utils.d.ts.map