You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/web/pages/api/ai/free-changelog-generator.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ You are a changelog writer. Generate a well-formatted changelog based on the pro
26
26
Format the output as markdown with clear sections and bullet points.
27
27
Tone: ${tone==="casual" ? "Write in a casual, friendly tone" : "Write in a formal, professional tone"}
28
28
${intro==="Add a short intro and outro, make sure its generic and polite." ? "Include a brief intro and outro paragraph." : "Do not add any introduction or conclusion - just the changelog content."}
29
+
30
+
IMPORTANT: Never remove any images, image tags, or image URLs from the input. All images must be preserved exactly as they appear in the original content.
prompt: `Proofread and improve the following changelog content. Fix any grammar, spelling, or clarity issues while maintaining the original meaning and tone. Return only the improved text without any explanations.
21
21
22
+
IMPORTANT: Never remove any images, image tags, or image URLs from the content. All images must be preserved exactly as they appear in the original.
Copy file name to clipboardExpand all lines: apps/web/utils/changelog-ai.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,10 @@ Example: "Created a changelog highlighting the new user authentication system wi
77
77
78
78
Keep it to 1-2 sentences. Be specific about the main features/changes covered.
79
79
</summary-rules>
80
+
81
+
<media-rules>
82
+
IMPORTANT: Never remove any images, videos, embeds, or other media from the content unless the user explicitly requests their removal. All media must be preserved exactly as they appear.
0 commit comments