()
| 459 | |
| 460 | #[tokio::test] |
| 461 | async fn test_session_with_model_override() { |
| 462 | let agent = Agent::from_config(test_config()).await.unwrap(); |
| 463 | let opts = SessionOptions::new().with_model("openai/gpt-4o"); |
| 464 | let session = agent.session("/tmp/test-workspace", Some(opts)); |
| 465 | assert!(session.is_ok()); |
| 466 | } |
| 467 | |
| 468 | #[tokio::test] |
| 469 | async fn test_session_with_invalid_model_format() { |
nothing calls this directly
no test coverage detected