X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/80e348724041a694002fc38f57e8868b9b9a2be9..959c24478e2c3a596a81cca359fd784c897f46a2:/prompt.go diff --git a/prompt.go b/prompt.go index 29e58ee..896038b 100644 --- a/prompt.go +++ b/prompt.go @@ -223,6 +223,7 @@ message outside your area. Your final reply is your report to the parent. End your turn with an empty reply when nothing needs the parent or the user. Send nothing to WhatsApp. Draft replies in your report instead, so the parent can ask the user before sending.`, 1) + text = strings.Replace(text, promptChildrenText, "", 1) return promptWithInstructions(text, "Do the tasks of your area yourself, with your tools.", promptInstructionsClause, instructions) @@ -452,8 +453,8 @@ func promptObjectSchema(properties map[string]any) map[string]any { } } -// promptEffortEnum returns the values of the effort of spawn: promptEfforts -// and null. +// promptEffortEnum returns the values of the effort of spawn: promptEfforts and +// null. func promptEffortEnum() []any { values := make([]any, 0, len(promptEfforts)+1) for _, effort := range promptEfforts {