pub struct LiveGrokMultiSessionOptions {
pub project: PathBuf,
pub prompt_a: String,
pub prompt_b: String,
pub marker_a: String,
pub marker_b: String,
pub base: LiveGrokRunOptions,
pub verify_explicit_load: bool,
}Expand description
Options for a live multi-session qualification on one long-lived Grok serve.
Proves concurrent session/new isolation (distinct sessionIds) and optional
explicit session/load of one id — not a TransactionRuntime Golden claim.
Fields§
§project: PathBufShared project / cwd for both sessions.
prompt_a: StringPrompt for session A (should ask for a unique marker).
prompt_b: StringPrompt for session B (should ask for a different unique marker).
marker_a: StringMarker substring expected in session A’s chat/events (isolation check).
marker_b: StringMarker substring expected in session B’s chat/events.
base: LiveGrokRunOptionsServe / connector knobs reused from single-session defaults.
verify_explicit_load: boolWhen true, after both news complete, session/load session A’s id and
assert the loaded id matches (no most-recent heuristic).
Implementations§
Source§impl LiveGrokMultiSessionOptions
impl LiveGrokMultiSessionOptions
Sourcepub fn for_project(project: impl Into<PathBuf>) -> Self
pub fn for_project(project: impl Into<PathBuf>) -> Self
Defaults: short marker prompts, 3-minute outer ceiling, default secret.
Trait Implementations§
Source§impl Clone for LiveGrokMultiSessionOptions
impl Clone for LiveGrokMultiSessionOptions
Source§fn clone(&self) -> LiveGrokMultiSessionOptions
fn clone(&self) -> LiveGrokMultiSessionOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more