diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 8c368a7..618a642 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -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 { // "Thinking" feature flag: decorate the outgoing payload only — the