Skip to content

Interface: PromptResolveOptions

Options for PromptsResource.resolve.

Properties

signal?

ts
optional signal?: AbortSignal;

Cancels the in-flight request.


vars?

ts
optional vars?: Record<string, string>;

Values for the prompt's {{variable}} placeholders. Strings only: format numbers and dates where the formatting decision belongs.

Released under the MIT licence.