ai.errors.PromptRenderError

A user expression inside a prompt template threw while rendering (for example `${value.to_json()}`). The original error rides `cause`; prompt rendering is deterministic and nothing has been sent, so retrying without changing the input cannot succeed — but nothing committed either.

Reference version

Signature

class ai.errors.PromptRenderError

A user expression inside a prompt template threw while rendering (for example ${value.to_json()}). The original error rides cause; prompt rendering is deterministic and nothing has been sent, so retrying without changing the input cannot succeed — but nothing committed either.

Source:<builtin>/ai/ns_errors/errors.bamlbytes 64356626

Fields

message

string

cause

unknown

Implementations