rlmesh::SessionOptions
Options for session and Model::session.
struct SessionOptionsFields
- instructionOverride each text input of a spec’d model for this call.
- viewLive viewer for the session's manual and automatic steps.
- close_envShut the caller's env down when the session closes.
- trust_entrypointsOverride the model's
trust_entrypointsfor this session. - execution_horizonActions of each predicted chunk executed before re-planning (1..=1024; default 1).
- workflow_editionThe workflow edition this session declares.
- cancelThe session's cancel token: every session call watches it, and
Session::cancel_handlereturns it.
Methods
instruction
field[source]instruction: Option<String>Override each text input of a spec’d model for this call.
view
field[source]view: Option<View>Live viewer for the session’s manual and automatic steps.
close_env
field[source]close_env: boolShut the caller’s env down when the session closes.
trust_entrypoints
field[source]trust_entrypoints: Option<bool>Override the model’s trust_entrypoints for this session.
execution_horizon
field[source]execution_horizon: u32Actions of each predicted chunk executed before re-planning (1..=1024; default 1).
workflow_edition
field[source]workflow_edition: Option<String>The workflow edition this session declares.
cancel
field[source]cancel: Option<CancelToken>The session’s cancel token: every session call watches it, and
Session::cancel_handle returns it.
instruction
method[source]fn instruction(self, value: impl Into<String>) -> SelfSet the text override.
Trait implementations
- impl Clone for SessionOptions
- impl Debug for SessionOptions
- impl Default for SessionOptions