diff --git a/src/pages/AgentEditor/hooks/useAgentEditor.ts b/src/pages/AgentEditor/hooks/useAgentEditor.ts index 4be33c5..b52fe7b 100644 --- a/src/pages/AgentEditor/hooks/useAgentEditor.ts +++ b/src/pages/AgentEditor/hooks/useAgentEditor.ts @@ -29,7 +29,7 @@ export function useAgentEditor({ id, isNew, form, message, navigate }: UseAgentE const pollCount = useRef(0); const hydratingRef = useRef(false); - const MAX_POLL_COUNT = 30; + const MAX_POLL_COUNT = 100; const stopPolling = () => { if (pollTimer.current) {