fix(tui): don't clear conversation model override on transient retrieve errors (#1269)

Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
jnjpng
2026-03-04 17:53:08 -08:00
committed by GitHub
parent e942f7870b
commit 0092e6ab76

View File

@@ -3376,7 +3376,13 @@ export default function App({
"Failed to sync conversation model override: %O",
error,
);
applyAgentModelLocally();
// Preserve current local state on transient errors — the override flag
// was set by a successful /model write and should not be cleared by a
// failed read. The next sync cycle will retry and self-correct.
debugLog(
"conversation-model",
"Keeping current model state after sync error (override in DB is authoritative)",
);
}
};