Expand description
Prompt requests, responses, and incremental output streams. Prompt inputs, exact terminal responses, and transient output observation.
crate::prompt::PromptRequest applies per-prompt overrides to inherited workspace and
Agent settings. crate::prompt::PromptStream observes the same accepted owner as unary
prompting: deltas are transient, and only crate::prompt::PromptEvent::Completed conveys
its authoritative response. Dropping observation does not abort accepted work.
Structs§
- Prompt
Request - Supplies one foreground prompt and its optional portable overrides.
- Prompt
Response - Contains the exact terminal output of one foreground prompt.
- Prompt
Stream - Non-Clone observation of one accepted prompt’s transient output.
- Structured
Output Request - Strict self-contained JSON Schema requested for structured prompt output.
- Usage
Info - Reports token usage covering every native model call in one prompt.
Enums§
- Prompt
Event - Transient text observation or the authoritative terminal prompt response.