prompt_helpers.ts view source (parts: PartUnion[]): string Formats a collection of parts into a prompt string, applying XML tags and attributes where specified. parts type PartUnion[] returns string