Expand description
System message transform callbacks for customizing agent prompts. System message transform callbacks for customizing agent prompts.
Implement SystemMessageTransform to intercept and modify system prompt
sections during session creation. The CLI sends the current content for
each section the transform registered, and the SDK returns the modified
content.
Structs§
- Transform
Context - Context provided to every transform invocation.
Traits§
- System
Message Transform - Handles
systemMessage.transformRPC requests from the CLI.