Skip to content

Commit e08325c

Browse files
authored
Merge branch 'main' into chore/coderabbit-triage-v0.2.3
2 parents 3d0cdba + 0b0a1d9 commit e08325c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

components/frontend/src/services/queries/use-sessions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export function useSession(projectName: string, sessionName: string, port: Sessi
8080
retryDelay: (attemptIndex) => Math.min(1000 * 2 ** attemptIndex, 10000),
8181
refetchInterval: (query) => {
8282
const session = query.state.data as AgenticSession | undefined;
83+
if (!session) return 2000;
84+
8385
const phase = session?.status?.phase;
8486
const annotations = session?.metadata?.annotations || {};
8587

0 commit comments

Comments
 (0)