prompt.placeholder_type
A prompt's field is of a type a prompt can't send.
Area 21, AI; not declinable; the next step is usually the agent's.
A prompt sends text: a secret, bytes, a file or its bytes, or a BatchRun
(however deep, since an object is written as its JSON), a value that may be
none or a second conversation can't be one of its fields, and a conversation
is sent as the turns, never written in the text.
/// Describes the photo a customer sent of their order.type DescribePhoto = Prompt { photo: Bytes reader_locale: Locale}
error DescribePhoto.photo is Bytes, which a prompt can't send
--> domains/support/prompts/describe_photo.jadpo:3:5
|3 | photo: Bytes | ^^^^^ not text
- reason
- A prompt is text. Images, audio and other bytes are sent by a provider package's own operations, not in a prompt, and a
File, even inside an object, is only the store and key its bytes are under. - next
- Remove
photo, or send what it holds as text (agent) - rule
- prompt.
placeholder_ type - help
- https://jadpo.
dev/docs/errors/prompt. placeholder_ type
Markdown for agents: /docs/errors/prompt.placeholder_type.md.Built from Jadpo main at aee2e8f.