Documentation
¶
Overview ¶
Package prompt builds LLM prompts from git history.
It ships a single hardcoded review template as plain Go strings — one template does not justify //go:embed or text/template machinery. Custom user templates (text/template) are post-MVP. The template requires the model to end with a fenced `risk` JSON block (§7.1), parsed back in internal/llm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReview ¶
BuildReview renders the system and user messages for a review. The user message carries the commit metadata (subjects, authors, bodies, file lists) followed by the full unified diff in a fenced block.
Types ¶
Click to show internal directories.
Click to hide internal directories.