UNPKG

@promptbook/remote-client

Version:

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

33 lines (32 loc) 1.08 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * MESSAGE SUFFIX commitment definition * * The MESSAGE SUFFIX commitment stores a hardcoded message that is appended * to every assistant response in Agents Server runtimes. * * Example usage in agent source: * * ```book * MESSAGE SUFFIX This message was generated by Promptbook. * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class MessageSuffixCommitmentDefinition extends BaseCommitmentDefinition<'MESSAGE SUFFIX'> { constructor(); /** * Short one-line description of MESSAGE SUFFIX. */ get description(): string; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for MESSAGE SUFFIX commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }