This reference describes unreleased code on main; no release documents it yet.

rlmesh::SessionOptions

structPreviewuse rlmesh::SessionOptions;[source]

Options for session and Model::session.

struct SessionOptions

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: bool

Shut 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: u32

Actions 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>) -> Self

Set the text override.

Trait implementations

  • impl Clone for SessionOptions
  • impl Debug for SessionOptions
  • impl Default for SessionOptions