feat(demo): cap chat input at 8000 chars (~2000 tokens)

This commit is contained in:
2026-05-07 02:33:36 -05:00
parent 3e377e2bb6
commit c24b9b179b
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1997,7 +1997,7 @@ fn page_close() -> String {
<div id="neuron-demo-messages"></div>
<div id="neuron-demo-turnstile" style="padding:0.75rem 1rem 0;transition:opacity 0.6s,max-height 0.6s;overflow:hidden;max-height:80px"></div>
<div id="neuron-demo-input-row" style="display:none">
<input type="text" id="neuron-demo-text" placeholder="Ask me anything..." autocomplete="off">
<input type="text" id="neuron-demo-text" placeholder="Ask me anything..." autocomplete="off" maxlength="8000">
<button id="neuron-demo-send" onclick="neuronDemoSend()">Send</button>
</div>
</div>