Build the final system prompt by assembling slots around the core prompt. The core agentic behavior (Core Behaviour, Tool Usage Strategy, Completion Criteria) is always preserved. Users can only customize the edges. Note: This uses `AgentStyle::GeneralPurpose` as the base. Use `build_with_message()` to enable automatic intent-based style detection.
(&self)
| 454 | /// Note: This uses `AgentStyle::GeneralPurpose` as the base. Use |
| 455 | /// `build_with_message()` to enable automatic intent-based style detection. |
| 456 | pub fn build(&self) -> String { |
| 457 | self.build_with_style(self.style.unwrap_or_default()) |
| 458 | } |
| 459 | |
| 460 | /// Build the final system prompt, auto-detecting style from the initial message. |
| 461 | /// |