update glm 4.5v system prompt
Browse files69 unmodified lines707172737475767778798069 unmodified lines# Stricter prompt for GLM-4.5V to ensure a complete, runnable HTML document with no escaped charactersGLM45V_HTML_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 neededReturn ONLY the code inside a single ```html ... ``` code block. No additional text before or after.69 unmodified lines707172737475767778798081828384858669 unmodified lines# Stricter prompt for GLM-4.5V to ensure a complete, runnable HTML document with no escaped charactersGLM45V_HTML_SYSTEM_PROMPT = """You are an expert front-end developer.Output a COMPLETE, STANDALONE HTML document that renders directly in a browser.Hard constraints:- DO NOT use React, ReactDOM, JSX, Babel, Vue, Angular, Svelte, or any SPA framework.- Use ONLY plain HTML, CSS, and vanilla JavaScript.- Allowed external resources: Tailwind CSS CDN, Font Awesome CDN, Google Fonts.- Do NOT escape characters (no \\n, \\t, or escaped quotes). Output raw HTML/JS/CSS.Structural requirements:- Include <!DOCTYPE html>, <html>, <head>, and <body> with proper nesting- Include required <link> tags for any CSS you reference (e.g., Tailwind, Font Awesome, Google Fonts)- Keep everything in ONE file; inline CSS/JS as neededReturn ONLY the code inside a single ```html ... ``` code block. No additional text before or after.
app.py+10-4