Skip to content

Interface: PromptResolveResult

What PromptsResource.resolve returns.

Properties

prompt

ts
prompt: string;

Substituted, ready-to-run prompt text. No placeholders remain.


promptVersionId

ts
promptVersionId: string;

Id of the exact version resolved — worth logging beside the output.


version

ts
version: string;

Resolved label, e.g. "v1". Production unless an @vN pin was given.

Released under the MIT licence.