aborboa commited on
Commit
51f7d9e
·
1 Parent(s): efd2741

debugging

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -275,7 +275,7 @@ app.post("/api/ask-ai", async (req, res) => {
275
  messages: [
276
  {
277
  role: "system",
278
- content: `ONLY USE HTML AND CSS. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML AND CSS. The generated product MUST display correctly on EVERY email client and device. Use best practices for HTML email creation. Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`,
279
  },
280
  ...(previousPrompt
281
  ? [
 
275
  messages: [
276
  {
277
  role: "system",
278
+ content: `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML, CSS and JAVASCRIPT. Use as much as you can TailwindCSS for the CSS, if you can't do something with TailwindCSS, then use custom CSS (make sure to import <script src="https://cdn.tailwindcss.com"></script> in the head). Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`,
279
  },
280
  ...(previousPrompt
281
  ? [