pub struct CoreCreateParams {
pub prompt: String,
pub model: Option<String>,
pub provider: Option<Provider>,
pub max_tokens: Option<u32>,
pub system_prompt: Option<String>,
pub labels: Option<BTreeMap<String, String>>,
pub additional_instructions: Option<Vec<String>>,
pub app_context: Option<Value>,
pub shell_env: Option<HashMap<String, String>>,
}Expand description
Core session creation parameters.
Fields§
§prompt: String§model: Option<String>§provider: Option<Provider>§max_tokens: Option<u32>§system_prompt: Option<String>§labels: Option<BTreeMap<String, String>>§additional_instructions: Option<Vec<String>>§app_context: Option<Value>§shell_env: Option<HashMap<String, String>>Per-agent environment variables injected into shell tool subprocesses.
Trait Implementations§
Source§impl Clone for CoreCreateParams
impl Clone for CoreCreateParams
Source§fn clone(&self) -> CoreCreateParams
fn clone(&self) -> CoreCreateParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoreCreateParams
impl Debug for CoreCreateParams
Source§impl<'de> Deserialize<'de> for CoreCreateParams
impl<'de> Deserialize<'de> for CoreCreateParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoreCreateParams
impl RefUnwindSafe for CoreCreateParams
impl Send for CoreCreateParams
impl Sync for CoreCreateParams
impl Unpin for CoreCreateParams
impl UnsafeUnpin for CoreCreateParams
impl UnwindSafe for CoreCreateParams
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