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
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,13 @@ export function AgentGroup({
33
33
}: AgentGroupProps){
34
34
constAgentIcon=getAgentIcon(agentName)
35
35
consthasItems=items.length>0
36
+
letlastTextIdx=-1
37
+
for(leti=items.length-1;i>=0;i--){
38
+
if(items[i].type==='text'){
39
+
lastTextIdx=i
40
+
break
41
+
}
42
+
}
36
43
consttoolItems=items.filter(
37
44
(item): item is Extract<AgentGroupItem,{type: 'tool'}>=>item.type==='tool'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/subagent-thinking-block.tsx
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,7 @@ export function SubagentThinkingBlock({
88
88
}
89
89
if(!isStreaming){
90
90
setExpanded(false)
91
+
// Reset so the next streaming session auto-expands by default
0 commit comments