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:
@@ -3376,7 +3376,13 @@ export default function App({
|
|||||||
"Failed to sync conversation model override: %O",
|
"Failed to sync conversation model override: %O",
|
||||||
error,
|
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)",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user