update system prompt
Browse files47 unmodified lines4849505152535455565758596051525354718 unmodified lines77377477577677777877978047 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 needed
For website redesign tasks:HTML_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 FILE
For website redesign tasks:- Use the provided original HTML code as the starting point for redesign718 unmodified lines return lines[1] if len(lines) > 1 else '' return text.strip()
## React CDN compatibility fixer removed per user preference
def strip_placeholder_thinking(text: str) -> str: """Remove placeholder 'Thinking...' status lines from streamed text.""" if not text:app.py+3-10