pub struct PromptOptions {
pub expand_prompt_templates: bool,
pub images: Vec<ImageContent>,
pub streaming_behavior: Option<StreamingBehavior>,
pub source: InputSource,
}Expand description
Options of AgentSession::prompt.
Fields§
§expand_prompt_templates: boolDispatch extension commands, expand skills and templates (default true).
images: Vec<ImageContent>Image attachments.
streaming_behavior: Option<StreamingBehavior>Queueing while streaming.
source: InputSourceInput source.
Trait Implementations§
Source§impl Clone for PromptOptions
impl Clone for PromptOptions
Source§impl Debug for PromptOptions
impl Debug for PromptOptions
Source§impl Default for PromptOptions
impl Default for PromptOptions
Source§impl PartialEq for PromptOptions
impl PartialEq for PromptOptions
impl StructuralPartialEq for PromptOptions
Auto Trait Implementations§
impl Freeze for PromptOptions
impl RefUnwindSafe for PromptOptions
impl Send for PromptOptions
impl Sync for PromptOptions
impl Unpin for PromptOptions
impl UnsafeUnpin for PromptOptions
impl UnwindSafe for PromptOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more