Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Instructions string
View Source
var Planning string
Functions ¶
func BuildInstructions ¶
func BuildInstructions(base string, data SectionData) string
BuildInstructions composes a full system prompt from a base prompt and dynamic section data (environment, memory, skills, etc.).
func ComposeSections ¶
ComposeSections joins sections into a single system prompt string. Empty sections are skipped. Titled sections get a ## header.
Types ¶
type Section ¶
Section is a titled block of the system prompt.
func RenderSections ¶
func RenderSections(data SectionData) []Section
RenderSections renders all section templates with the given data, returning only non-empty sections.
Click to show internal directories.
Click to hide internal directories.