()
| 1748 | |
| 1749 | #[test] |
| 1750 | fn test_apply_to_sets_max_steps() { |
| 1751 | use crate::agent::AgentConfig; |
| 1752 | |
| 1753 | let def = AgentDefinition::new("fast", "Fast agent").with_max_steps(7); |
| 1754 | let mut config = AgentConfig::default(); |
| 1755 | |
| 1756 | def.apply_to(&mut config); |
| 1757 | |
| 1758 | assert_eq!(config.max_tool_rounds, 7); |
| 1759 | } |
| 1760 | |
| 1761 | #[test] |
| 1762 | fn test_apply_to_respects_host_overrides() { |
nothing calls this directly
no test coverage detected