You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
JiaDe
committed
fix: auto-retry on AgentCore cold start for Portal Chat + Playground
Portal Chat and Playground both now auto-retry once after 3s when the
first request fails (AgentCore cold start ~25s). Shows 'Agent is warming
up' instead of error message. Also fixed Playground retry bug where
inputValue was already cleared before the retry fired.
setMessages(prev=>[...prev,{role: 'assistant',content: '⚠️ AgentCore still starting up. Please try again in 30 seconds.',timestamp: newDate().toLocaleTimeString()}]);
62
+
setMessages(prev=>[...prev,{role: 'assistant',content: 'Agent is still starting up. Please try again in ~30 seconds.',timestamp: newDate().toLocaleTimeString()}]);
0 commit comments