Update App.tsx

This commit is contained in:
k
2026-09-21 22:00:57 +02:00
parent 5c616a9d03
commit 59fc78332d
+3 -3
View File
@@ -58,6 +58,9 @@ function reviewIdFromPath(): string | null {
* actually plays even when the session restores instantly. */
const MIN_SPLASH_MS = 1100;
/** Max footer-arrow retries for the same failed model prompt. */
const MAX_RETRIES = 3;
function applyTheme(theme: string) {
const root = document.documentElement;
const dark =
@@ -273,9 +276,6 @@ export function App() {
}
}
/** Max footer-arrow retries for the same failed prompt. */
const MAX_RETRIES = 3;
/** Stream one assistant reply for an exact history; resolves its text. */
async function streamReply(history: ChatMessage[], convId: string): Promise<string> {
// "Thinking" feature flag: decorate the outgoing payload only — the