pub trait SystemPromptStrategy: Send + Sync {
// Required method
fn block_defs(&self) -> &[PromptBlockDef];
}Expand description
Defines the structure template for a system prompt.
A strategy is reusable — multiple SystemPrompt instances can share one strategy,
each providing different content for the same block structure.
Required Methods§
Sourcefn block_defs(&self) -> &[PromptBlockDef]
fn block_defs(&self) -> &[PromptBlockDef]
Return block definitions (structure only, no content).