| 28 | } |
| 29 | |
| 30 | pub struct AgentExecutor { |
| 31 | agent: AgentInfo, |
| 32 | conversation: Conversation, |
| 33 | providers: Arc<ProviderRegistry>, |
| 34 | tools: Arc<ToolRegistry>, |
| 35 | disabled_tools: HashSet<String>, |
| 36 | subsessions: Arc<Mutex<HashMap<String, SubsessionState>>>, |
| 37 | max_steps: u32, |
| 38 | } |
| 39 | |
| 40 | #[derive(Debug, Clone)] |
| 41 | struct SubsessionState { |
nothing calls this directly
no outgoing calls
no test coverage detected