fix: error_retry message breaking browser session row flow (#7106)
This commit is contained in:
1 parent
062a32f93d
commit
604dbd7bb0
2 files changed
+4
-1
No files matched your search
@@ -198,7 +198,8 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => {
|
||||
message.say === "api_req_started" ||
|
||||
message.say === "text" ||
|
||||
message.say === "reasoning" ||
|
||||
message.say === "browser_action"
|
||||
message.say === "browser_action" ||
|
||||
message.say === "error_retry"
|
||||
) {
|
||||
// These messages lead to the next result, so they should always go in nextActionMessages
|
||||
nextActionMessages.push(message)
|
||||
@@ -539,6 +540,7 @@ const BrowserSessionRowContent = memo(
|
||||
case "api_req_started":
|
||||
case "text":
|
||||
case "reasoning":
|
||||
case "error_retry":
|
||||
return (
|
||||
<div style={chatRowContentContainerStyle}>
|
||||
<ChatRowContent
|
||||
|
||||
@@ -65,6 +65,7 @@ export function isBrowserSessionMessage(message: ClineMessage): boolean {
|
||||
"browser_action_result",
|
||||
"checkpoint_created",
|
||||
"reasoning",
|
||||
"error_retry",
|
||||
].includes(message.say!)
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user