a5cef5b2f6
Harvested from #2406 with thanks to @axobase001. Adds auto-selected model and reasoning effort to turn metadata while keeping user text isolated in its own content block. Includes the comment cleanup requested in review. Partially addresses #2380.