Set slot-based system prompt customization for this session. Allows customizing role, guidelines, response style, and extra instructions without overriding the core agentic capabilities.
(mut self, slots: SystemPromptSlots)
| 551 | /// Allows customizing role, guidelines, response style, and extra instructions |
| 552 | /// without overriding the core agentic capabilities. |
| 553 | pub fn with_prompt_slots(mut self, slots: SystemPromptSlots) -> Self { |
| 554 | self.prompt_slots = Some(slots); |
| 555 | self |
| 556 | } |
| 557 | |
| 558 | /// Replace the built-in hook engine with an external hook executor. |
| 559 | /// |
no outgoing calls