pub struct ChatTurnInput {Show 15 fields
pub session_id: String,
pub project_id: Option<ProjectId>,
pub model: String,
pub model_ref: Option<ProviderModelRef>,
pub provider: Option<String>,
pub message: String,
pub system_prompt: Option<String>,
pub enhance_prompt: Option<String>,
pub workspace_path: Option<String>,
pub default_workspace_path: Option<String>,
pub selected_skill_ids: Option<Vec<String>>,
pub workflow_selection: Option<WorkflowSelection>,
pub orchestration_opt_in: Option<bool>,
pub copilot_conclusion_with_options_enhancement_enabled: Option<bool>,
pub data_dir: Option<PathBuf>,
}Expand description
Input for the chat turn use case.
Fields§
§session_id: String§project_id: Option<ProjectId>Project membership observed and validated by the caller. The
authoritative load inside prepare_chat_turn must still match this
value before any prompt/workspace/message mutation. For a genuinely new
session this becomes its initial stable membership.
model: String§model_ref: Option<ProviderModelRef>§provider: Option<String>§message: String§system_prompt: Option<String>§enhance_prompt: Option<String>§workspace_path: Option<String>§default_workspace_path: Option<String>Caller-owned live-config default. This is distinct from an explicit request field so an omitted workspace can still prefer the freshly loaded durable session under the transaction lock.
selected_skill_ids: Option<Vec<String>>§workflow_selection: Option<WorkflowSelection>§orchestration_opt_in: Option<bool>§copilot_conclusion_with_options_enhancement_enabled: Option<bool>§data_dir: Option<PathBuf>Optional data directory for workspace path fallback when neither request nor metadata provides one.
Auto Trait Implementations§
impl Freeze for ChatTurnInput
impl RefUnwindSafe for ChatTurnInput
impl Send for ChatTurnInput
impl Sync for ChatTurnInput
impl Unpin for ChatTurnInput
impl UnsafeUnpin for ChatTurnInput
impl UnwindSafe for ChatTurnInput
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