()
| 1736 | |
| 1737 | #[test] |
| 1738 | fn test_apply_to_sets_prompt() { |
| 1739 | use crate::agent::AgentConfig; |
| 1740 | |
| 1741 | let def = AgentDefinition::new("helper", "Help").with_prompt("Be helpful."); |
| 1742 | let mut config = AgentConfig::default(); |
| 1743 | |
| 1744 | def.apply_to(&mut config); |
| 1745 | |
| 1746 | assert_eq!(config.prompt_slots.extra.as_deref(), Some("Be helpful.")); |
| 1747 | } |
| 1748 | |
| 1749 | #[test] |
| 1750 | fn test_apply_to_sets_max_steps() { |
nothing calls this directly
no test coverage detected