Commit 9c16f52
committed
fix(demo): keep answers cited when the free chain falls to a weak model
gemma-4-26b started 502ing upstream, so every /demo/chat answer fell
through to nemotron-nano-12b-vl, which ignores the system-prompt
citation rule entirely: answers rendered with no sources. Pinning that
model with the production prompt reproduced it - zero bracket citations
until the rule is restated next to the question.
- restate the citation rule at the end of the user message; takes
nemotron-nano from zero to per-claim citations across repeated probes
- add two free vision models that cite reliably (gemma-4-31b,
nex-n2-pro) to the chain ahead of the nemotron fallback1 parent 940481a commit 9c16f52
3 files changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
332 | 340 | | |
333 | 341 | | |
334 | 342 | | |
| |||
0 commit comments