Interface: PromptResolveOptions
Options for PromptsResource.resolve.
Properties
signal?
ts
optional signal?: AbortSignal;Stops this call waiting. A fetch it started keeps running for any other caller of the same prompt, and fills the cache when it lands.
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. A value given as undefined counts as missing.