()
| 340 | |
| 341 | #[tokio::test] |
| 342 | async fn test_session_default() { |
| 343 | let agent = Agent::from_config(test_config()).await.unwrap(); |
| 344 | let session = agent.session("/tmp/test-workspace", None); |
| 345 | assert!(session.is_ok()); |
| 346 | let debug = format!("{:?}", session.unwrap()); |
| 347 | assert!(debug.contains("AgentSession")); |
| 348 | } |
| 349 | |
| 350 | #[tokio::test] |
| 351 | async fn test_session_uses_workspace_backend_for_direct_tools() { |
nothing calls this directly
no test coverage detected