Commit 5954cc0
committed
fix: Improve page generation and upgrade GPT bot models
- Rewrite build-pages.py with proper markdown parsing:
- Tables converted to HTML <table> elements
- Ordered lists converted to <ol><li> elements
- LaTeX \href commands converted to links
- Internal links no longer open in new tabs
- Restructure syllabus.md with table format:
- Course info table at top
- Weekly overview schedule table
- Detailed day-by-day tables per week
- Replace crashing Qwen3 with robust fallback chain:
- Primary: DeepSeek-R1-Distill-Qwen-1.5B (reasoning model)
- Fallback 1: Gemma 3 1B IT
- Fallback 2: Gemma 3 270M IT
- Updated all UI references and architecture tab
- Added HuggingFace model card links
- Add test-gpt-bot-loading.mjs for model config verification1 parent 8d8c1b8 commit 5954cc0
File tree
15 files changed
+2116
-928
lines changed- admin
- assignments
- assignment-1
- assignment-2
- assignment-3
- assignment-4
- assignment-5
- final-project
- demos/chatbot-evolution
- js
- scripts
- syllabus
- tests
15 files changed
+2116
-928
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| 71 | + | |
64 | 72 | | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments