Compare commits

...

1 Commits

Author SHA1 Message Date
Saoud Rizwan ceb7a5fd64 fix: BrowserSessionRow to include 'reasoning' message type handling 2025-04-17 10:58:10 -07:00
2 changed files with 8 additions and 1 deletions
@@ -192,7 +192,12 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => {
// Reset for next page
currentStateMessages = []
nextActionMessages = []
} else if (message.say === "api_req_started" || message.say === "text" || message.say === "browser_action") {
} else if (
message.say === "api_req_started" ||
message.say === "text" ||
message.say === "reasoning" ||
message.say === "browser_action"
) {
// These messages lead to the next result, so they should always go in nextActionMessages
nextActionMessages.push(message)
} else {
@@ -511,6 +516,7 @@ const BrowserSessionRowContent = ({
switch (message.say) {
case "api_req_started":
case "text":
case "reasoning":
return (
<div style={chatRowContentContainerStyle}>
<ChatRowContent
@@ -575,6 +575,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
"browser_action",
"browser_action_result",
"checkpoint_created",
"reasoning",
].includes(message.say!)
}
return false