Update App.tsx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user