UNPKG

@promptbook/utils

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

19 lines (18 loc) 435 B
import type { ParsedCommitment } from './ParsedCommitment'; /** * Result of parsing agent source for commitments */ export interface AgentSourceParseResult { /** * The agent name (first line) */ agentName: string | null; /** * All parsed commitments */ commitments: ParsedCommitment[]; /** * Lines that are not commitments (for system message) */ nonCommitmentLines: string[]; }