Moderation tool for formatting code with AI

Not quite, I tested it out and it is expensive and is certainly not perfect:

I would say a “diff” based approach probably has the most chance of working.

Something like this may work (JSON output looking for markers) Crafting Concise Prompts for Markdown Formatting - AI Conversation - Discourse Meta

5 Likes