UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

17 lines (16 loc) 1.04 kB
import type { string_model_name } from '../../types/string_model_name'; import type { AgentModelRequirements } from './AgentModelRequirements'; import type { CreateAgentModelRequirementsOptions } from './CreateAgentModelRequirementsOptions'; import type { string_book } from './string_book'; /** * Creates agent model requirements by parsing commitments, applying them in source order, * and finalizing derived sections such as imports, example interactions, and inline knowledge uploads. * * @param agentSource - Agent source book to parse. * @param modelName - Optional override for the agent model name. * @param options - Additional options such as reference and teammate resolvers. * @returns Fully prepared model requirements for the parsed agent source. * * @private internal utility of `createAgentModelRequirements` */ export declare function createAgentModelRequirementsWithCommitments(agentSource: string_book, modelName?: string_model_name, options?: CreateAgentModelRequirementsOptions): Promise<AgentModelRequirements>;