Let the chat be stopped, timed, tuned and kept across a reload
While a reply streams the Send button is Stop, which aborts the request - and with it the one to the engine - keeping what had arrived. Under each reply: its tokens, from the engine's own count (the page's turn now asks for include_usage), tokens a second, time to the first token and in all. A settings fold takes a system prompt, sent before every turn, and a temperature, which the gateway holds to 0-2 whatever the page sends. The conversation, the prompt and the temperature are kept in the browser's storage, so a reload puts them back - the model's turns rendered again by the server as when they came - and "New conversation" clears them. The gateway still keeps no conversation. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
0823e5d743
commit
b7e8e1a3a1
5 files changed
+190
-35
No files matched your search
@@ -784,3 +784,14 @@ details.add-inline form.add { margin-top: .3rem; }
|
||||
.explore-search input[type=search] { flex-basis: 100%; }
|
||||
form.add-to select { max-width: 9rem; }
|
||||
}
|
||||
|
||||
/* Chat: the settings, the stop button, and a reply's timing. */
|
||||
details.chat-settings { margin: .5rem 0 .25rem; }
|
||||
details.chat-settings > summary { cursor: pointer; font-size: .85rem; color: var(--muted); }
|
||||
details.chat-settings label { display: block; margin: .5rem 0; font-size: .85rem; }
|
||||
details.chat-settings textarea { width: 100%; font: inherit; font-size: .88rem; padding: .45rem .55rem; margin-top: .3rem;
|
||||
border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--fg); resize: vertical; }
|
||||
details.chat-settings .temp input[type=range] { width: 14rem; vertical-align: middle; margin: 0 .5rem; accent-color: var(--accent); }
|
||||
details.chat-settings output { font-variant-numeric: tabular-nums; font-weight: 700; margin-left: .3rem; }
|
||||
#send.stop { background: var(--bad); border-color: var(--bad); }
|
||||
.chat-stats { margin: -.2rem 0 .6rem; font-size: .72rem; font-variant-numeric: tabular-nums; }
|
||||
Reference in new issue
Block a user