oa::ml::mcp_training::McpTrainingConfig

Gates controlling which MCP tools are registered for a training session. Calling McpTraining::register_tools is the opt-in boundary.

StRust public API

Declaration

pub struct McpTrainingConfig { pub enable_commands: bool, pub enable_pause_resume: bool, pub enable_checkpoint: bool, pub enable_evaluate: bool, pub enable_set_parameter: bool, pub enable_recapture: bool, pub enable_stop: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> McpTrainingConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

fn default() -> Self

Public Data Members

enable_commandsboolfield
enable_pause_resumeboolfield
enable_checkpointboolfield
enable_evaluateboolfield
enable_set_parameterboolfield
enable_recaptureboolfield
enable_stopboolfield

Public Method Documentation

fn clone( &self ) -> McpTrainingConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.