update system prompt
Browse files47 unmodified lines48495051525354555657585960616263718 unmodified lines78278378478578678747 unmodified linesREPLACE_END = ">>>>>>> REPLACE"# ConfigurationHTML_SYSTEM_PROMPT = """You are an expert front-end developer.Output a COMPLETE, STANDALONE HTML document that renders directly in a browser. Requirements:- Include <!DOCTYPE html>, <html>, <head>, and <body> with proper nesting- Include all required <link> and <script> tags for any libraries you use- Do NOT escape characters (no \\n, \\t, or escaped quotes). Output raw HTML/JS/CSS.- If you use React or Tailwind, include correct CDN tags- Keep everything in ONE file; inline CSS/JS as neededFor website redesign tasks:For website redesign tasks:- Use the provided original HTML code as the starting point for redesign718 unmodified linesreturn lines[1] if len(lines) > 1 else ''return text.strip()def strip_placeholder_thinking(text: str) -> str:"""Remove placeholder 'Thinking...' status lines from streamed text."""if not text:47 unmodified lines48495051525354718 unmodified lines77377477577677777877978047 unmodified linesREPLACE_END = ">>>>>>> REPLACE"# ConfigurationHTML_SYSTEM_PROMPT = """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. MAKE IT RESPONSIVE USING MODERN CSS. Use as much as you can modern CSS for the styling, if you can't do something with modern CSS, then use custom CSS. Also, try to elaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILEFor website redesign tasks:- Use the provided original HTML code as the starting point for redesign718 unmodified linesreturn lines[1] if len(lines) > 1 else ''return text.strip()## React CDN compatibility fixer removed per user preferencedef strip_placeholder_thinking(text: str) -> str:"""Remove placeholder 'Thinking...' status lines from streamed text."""if not text:
app.py+3-10