index.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <script>
  5. MathJax = {
  6. tex: { inlineMath: [['$', '$'], ['\\\\(', '\\\\)']] }
  7. };
  8. </script>
  9. <script id="MathJax-script" src="https://raye.mistivia.com/mathjax/tex-mml-chtml.js"></script>
  10. <script>
  11. globalConfig = {};
  12. globalCurrentModel = {};
  13. </script>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  16. <title>Lite AI Chat</title>
  17. </head>
  18. <body>
  19. <div class="header">
  20. <select id="model-selector">
  21. </select>
  22. </div>
  23. <div class="chat-container" id="message-container">
  24. <div class="system-prompt-container" style="display:none;">
  25. <textarea class="system-prompt-box" placeholder="System Prompt..." rows="2" id="system-prompt"></textarea>
  26. </div>
  27. </div>
  28. <div class="input-container">
  29. <textarea class="input-box" placeholder="Input Message..." rows="3" id="input-box"></textarea>
  30. <button class="button send" id="send-button">Send</button>
  31. <button class="button stop" id="stop-button">Stop</button>
  32. </div>
  33. <script type="module" src="/src/main.js"></script>
  34. </body>
  35. </html>