// cache of the turns.
func prompt(name, instructionsPath, instructions string) string {
text := strings.NewReplacer(promptName, name, promptInstructionsPath, instructionsPath).Replace(promptText)
+
return promptWithInstructions(text, promptTaskSentence, promptInstructionsClause, instructions)
}
// with the instructions of the user at its end, as prompt does.
func promptSubagent(name, instructions string) string {
text := strings.ReplaceAll(promptSubagentText, promptName, name)
+
return promptWithInstructions(text, promptSubagentTaskSentence, promptSubagentInstructionsClause, instructions)
}