pub struct LiveSessionConfig {
pub session_id: SessionId,
pub budgets: TaskResourceBudget,
pub workspace_gate: Option<WorkspaceGateConfig>,
pub tool_health_weight: f64,
pub require_clean_terminal_tools: bool,
pub price_card: Option<PriceCard>,
}Expand description
Configuration for real live interactive session evaluation.
Fields§
§session_id: SessionId§budgets: TaskResourceBudget§workspace_gate: Option<WorkspaceGateConfig>§tool_health_weight: f64Weight applied to tool health in quality score (0.0 .. 1.0, default 0.40).
require_clean_terminal_tools: boolIf true, a session ending on an unrecovered failed tool call forces zero quality.
price_card: Option<PriceCard>Optional price card for automatic cost accounting.
Implementations§
Source§impl LiveSessionConfig
impl LiveSessionConfig
pub fn new(session_id: SessionId) -> Self
pub fn with_workspace_gate(self, gate: WorkspaceGateConfig) -> Self
pub fn with_budgets(self, budgets: TaskResourceBudget) -> Self
pub fn with_price_card(self, card: PriceCard) -> Self
Trait Implementations§
Source§impl Clone for LiveSessionConfig
impl Clone for LiveSessionConfig
Source§impl Debug for LiveSessionConfig
impl Debug for LiveSessionConfig
Source§impl<'de> Deserialize<'de> for LiveSessionConfig
impl<'de> Deserialize<'de> for LiveSessionConfig
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
Source§impl PartialEq for LiveSessionConfig
impl PartialEq for LiveSessionConfig
Source§impl Serialize for LiveSessionConfig
impl Serialize for LiveSessionConfig
impl StructuralPartialEq for LiveSessionConfig
Auto Trait Implementations§
impl Forget for LiveSessionConfig
impl Freeze for LiveSessionConfig
impl Move for LiveSessionConfig
impl RefUnwindSafe for LiveSessionConfig
impl Send for LiveSessionConfig
impl Sync for LiveSessionConfig
impl Unpin for LiveSessionConfig
impl UnsafeUnpin for LiveSessionConfig
impl UnwindSafe for LiveSessionConfig
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