pub struct ThreadStartParams {
pub selection: Option<ModelSelectChoice>,
pub model: Option<String>,
pub model_provider: Option<String>,
pub reasoning: Option<String>,
pub workspace_id: String,
pub root_id: Option<String>,
pub cwd: Option<String>,
pub tool_allowlist: Option<Vec<String>>,
pub developer_instructions: Option<String>,
pub external_tools: Option<Vec<ToolSpec>>,
pub runner: Option<ThreadRunnerParams>,
pub ephemeral: bool,
}Fields§
§selection: Option<ModelSelectChoice>§model: Option<String>§model_provider: Option<String>§reasoning: Option<String>§workspace_id: String§root_id: Option<String>§cwd: Option<String>§tool_allowlist: Option<Vec<String>>Per-thread tool filter applied on top of the runtime allowlist. Absent = no filtering; an explicit empty array is rejected with invalid params.
developer_instructions: Option<String>Host-supplied instructions added to the developer slot of every turn’s inference request.
external_tools: Option<Vec<ToolSpec>>Host-executed tool specs advertised to the model on every turn of this thread. Calls pause
on thread/toolExecutionRequested until the client answers with tools/resolve.
runner: Option<ThreadRunnerParams>Binds the thread’s native coding tools to a remote-runner workspace.
Absent = local execution, even when a runtime-level runner destination
is selected via runners/select.
ephemeral: boolTrait Implementations§
Source§impl Clone for ThreadStartParams
impl Clone for ThreadStartParams
Source§fn clone(&self) -> ThreadStartParams
fn clone(&self) -> ThreadStartParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThreadStartParams
impl Debug for ThreadStartParams
Source§impl<'de> Deserialize<'de> for ThreadStartParams
impl<'de> Deserialize<'de> for ThreadStartParams
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 ThreadStartParams
impl RefUnwindSafe for ThreadStartParams
impl Send for ThreadStartParams
impl Sync for ThreadStartParams
impl Unpin for ThreadStartParams
impl UnsafeUnpin for ThreadStartParams
impl UnwindSafe for ThreadStartParams
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