feat(version): upgrade openclaw version 4.11 (#845)

This commit is contained in:
Haze
2026-04-13 19:11:28 +08:00
committed by GitHub
Unverified
parent 5482acd43d
commit 03c40985e1
9 changed files with 595 additions and 759 deletions

View File

@@ -253,10 +253,12 @@ export function createHistoryActions(
return;
}
if (isCurrentSession() && isInitialForegroundLoad && classifyHistoryStartupRetryError(lastError)) {
const errorKind = classifyHistoryStartupRetryError(lastError);
if (isCurrentSession() && isInitialForegroundLoad && errorKind) {
console.warn('[chat.history] startup retry exhausted', {
sessionKey: currentSessionKey,
gatewayState: useGatewayStore.getState().status.state,
errorKind,
error: String(lastError),
});
}
@@ -267,6 +269,11 @@ export function createHistoryActions(
if (applied && isInitialForegroundLoad) {
foregroundHistoryLoadSeen.add(currentSessionKey);
}
} else if (errorKind === 'gateway_startup') {
// Suppress error UI for gateway startup -- the history will load
// once the gateway finishes initializing (via sidebar refresh or
// the next session switch).
set({ loading: false });
} else {
applyLoadFailure(
result?.error