Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prompts ¶
type Prompts struct { CreateSystemPrompt string `prompt:"create_system_prompt.txt"` CodeReviewPrompt string `prompt:"code_review_prompt.txt"` EditInstructPrompt string `prompt:"edit_instruct_prompt.txt"` ApplyEditsPrompt string `prompt:"apply_edits_prompt.txt"` PlanningPrompt string `prompt:"planning_prompt.txt"` SearchPrompt string `prompt:"search_prompt.txt"` }
Prompts holds all the prompt strings with associated filenames via struct tags
func LoadPrompts ¶
LoadPrompts reads the embedded prompt files based on struct tags and returns a Prompts struct
Click to show internal directories.
Click to hide internal directories.