Spaces:
Running
Running
NakliTechie commited on
Commit ·
be8f716
1
Parent(s): 3a384ab
Sync from GitHub 2026-10-24T09:51:46Z
Browse files- index.html +3 -1
index.html
CHANGED
|
@@ -10527,7 +10527,9 @@ self.addEventListener('message', async (e) => {
|
|
| 10527 |
// the prompt. Pure heuristics — no trained model. Default on; toggle in
|
| 10528 |
// Settings. "Reversible" in spirit: the full result still lives in the
|
| 10529 |
// conversation / RAG, this only shrinks the copy fed to the model.
|
| 10530 |
-
|
|
|
|
|
|
|
| 10531 |
|
| 10532 |
function tokenSaverOn() {
|
| 10533 |
return localStorage.getItem('lm_token_saver') !== '0'; // default on
|
|
|
|
| 10527 |
// the prompt. Pure heuristics — no trained model. Default on; toggle in
|
| 10528 |
// Settings. "Reversible" in spirit: the full result still lives in the
|
| 10529 |
// conversation / RAG, this only shrinks the copy fed to the model.
|
| 10530 |
+
// "Be concise" alone made Nemotron 3.5 Bolt E4B (and NVIDIA's own GGUF) drop code fences, so the chat collapsed the code's
|
| 10531 |
+
// indentation (2026-10-24); the last sentence keeps code fenced.
|
| 10532 |
+
const CONCISE_DIRECTIVE = 'Be concise and direct. Skip preamble and pleasantries, do not restate the question or echo the user\'s code back, and stop as soon as the answer is complete. Put any code in a fenced Markdown code block.';
|
| 10533 |
|
| 10534 |
function tokenSaverOn() {
|
| 10535 |
return localStorage.getItem('lm_token_saver') !== '0'; // default on
|