Keep pending workspace status before first message
This commit is contained in:
@@ -1188,10 +1188,16 @@ function useComposerContextStatus() {
|
||||
sessionPayload =
|
||||
(await sessionResponse.json()) as ClawStoredSession;
|
||||
} else if (sessionResponse.status === 404) {
|
||||
if (
|
||||
sessionId === normalizeSessionId(readPendingWorkspaceSessionId())
|
||||
) {
|
||||
sessionPayload = null;
|
||||
} else {
|
||||
clearActiveSessionId();
|
||||
sessionId = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
const budgetUrl = new URL(
|
||||
"/api/claw/context-budget",
|
||||
window.location.origin,
|
||||
|
||||
Reference in New Issue
Block a user