File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
apps/sim/app/workspace/[workspaceId]/home
components/message-content Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function parseBlocks(blocks: ContentBlock[]): MessageSegment[] {
6767 for ( let i = 0 ; i < blocks . length ; i ++ ) {
6868 const block = blocks [ i ]
6969
70- if ( block . type === 'text' ) {
70+ if ( block . type === 'text' || block . type === 'subagent_text' ) {
7171 if ( ! block . content ?. trim ( ) ) continue
7272 if ( group ) {
7373 segments . push ( group )
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export interface OptionItem {
112112 label : string
113113}
114114
115- export type ContentBlockType = 'text' | 'tool_call' | 'subagent' | 'options'
115+ export type ContentBlockType = 'text' | 'tool_call' | 'subagent' | 'subagent_text' | ' options'
116116
117117export interface ContentBlock {
118118 type : ContentBlockType
You can’t perform that action at this time.
0 commit comments