Loading client/localapi.cpp +1 −0 Changes for client/localapi.cpp: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -246,6 +246,7 @@ QString LocalApi::generateAiPrompt(const QString &userRequest) { "- The snippet must work in both light and dark themes without modification\n" "- Use inline styles or a <style> block with scoped class names\n" "- Do NOT include any download links, download attributes, or file download functionality\n" "- Use relative units (em, rem, %, vw, vh, clamp()) instead of fixed px values for sizes, spacing, and fonts\n" "- Output ONLY the HTML, no explanation\n\n" "User request:\n" + userRequest; return prompt; Loading Loading
client/localapi.cpp +1 −0 Changes for client/localapi.cpp: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -246,6 +246,7 @@ QString LocalApi::generateAiPrompt(const QString &userRequest) { "- The snippet must work in both light and dark themes without modification\n" "- Use inline styles or a <style> block with scoped class names\n" "- Do NOT include any download links, download attributes, or file download functionality\n" "- Use relative units (em, rem, %, vw, vh, clamp()) instead of fixed px values for sizes, spacing, and fonts\n" "- Output ONLY the HTML, no explanation\n\n" "User request:\n" + userRequest; return prompt; Loading