Create with specific agent ID and depth
(
transport: Transport,
agent_id: String,
depth: u32,
)
| 186 | |
| 187 | /// Create with specific agent ID and depth |
| 188 | pub async fn with_context( |
| 189 | transport: Transport, |
| 190 | agent_id: String, |
| 191 | depth: u32, |
| 192 | ) -> Result<Self, a3s_ahp::AhpError> { |
| 193 | Self::with_context_and_config(transport, agent_id, depth, 10_000).await |
| 194 | } |
| 195 | |
| 196 | /// Create with specific agent ID, depth, and custom idle threshold |
| 197 | pub async fn with_context_and_config( |
no outgoing calls
no test coverage detected