Message payload for updating a prompt in the queue. Contains the full prompt data including version information.

interface PromptUpdate {
    id: string;
    prompt: string;
    type: "prompt-update";
    version: number;
}

Hierarchy (view full)

Properties

Properties

id: string

Unique identifier for the prompt

prompt: string

The prompt template text, may include Mustache template variables

type

Message type discriminator

version: number

Version number of this prompt, increments with each update