pub struct AgentRuntime {
pub agents: Vec<Arc<dyn Agent>>,
pub config: Arc<Config>,
pub client: Arc<OpenAiClient>,
pub plugins: Arc<PluginRegistry>,
pub tools: Arc<ToolRegistry>,
}Expand description
Runtime that holds a collection of agents and executes them.
Fields§
§agents: Vec<Arc<dyn Agent>>§config: Arc<Config>§client: Arc<OpenAiClient>§plugins: Arc<PluginRegistry>§tools: Arc<ToolRegistry>Implementations§
Auto Trait Implementations§
impl Freeze for AgentRuntime
impl !RefUnwindSafe for AgentRuntime
impl Send for AgentRuntime
impl Sync for AgentRuntime
impl Unpin for AgentRuntime
impl !UnwindSafe for AgentRuntime
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