()
| 1582 | |
| 1583 | #[test] |
| 1584 | fn test_agent_definition_with_model() { |
| 1585 | let model = ModelConfig { |
| 1586 | model: "claude-3-5-sonnet".to_string(), |
| 1587 | provider: Some("anthropic".to_string()), |
| 1588 | }; |
| 1589 | let agent = AgentDefinition::new("test", "Test").with_model(model); |
| 1590 | assert!(agent.model.is_some()); |
| 1591 | assert_eq!(agent.model.unwrap().provider, Some("anthropic".to_string())); |
| 1592 | } |
| 1593 | |
| 1594 | #[test] |
| 1595 | fn test_model_config_from_model_ref() { |
nothing calls this directly
no test coverage detected