mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
address comments left by @cryptobrains on #2472 (Feat: automatic retry for Gemini 2.5 Pro 503 Server Busy error (#2471));
This commit is contained in:
@@ -184,6 +184,7 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi
|
||||
// For now, reset if the message timestamp changes.
|
||||
return () => {
|
||||
// Cleanup if needed, potentially reset retryAttempted if component unmounts or message changes significantly
|
||||
setRetryAttempted(false)
|
||||
}
|
||||
}, [apiRequestFailedMessage, apiReqStreamingFailedMessage, isLast, message.ts, retryAttempted])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user