Skip to content

Commit c7706b9

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/docs/npm_and_yarn-e4e91a86d1
2 parents b3f25b3 + 7e918dd commit c7706b9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

components/frontend/src/components/ui/sonner.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ const Toaster = ({ ...props }: ToasterProps) => {
1717
<Sonner
1818
theme={theme as ToasterProps["theme"]}
1919
className="toaster group"
20+
position="bottom-right"
21+
offset="80px"
22+
closeButton
2023
icons={{
2124
success: <CircleCheckIcon className="size-4" />,
2225
info: <InfoIcon className="size-4" />,

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)