@@ -11,7 +11,7 @@ import { trackedFunction } from 'ember-resources/util/function';
11
11
12
12
import { Avatar } from ' @cardstack/boxel-ui/components' ;
13
13
14
- import { bool , or } from ' @cardstack/boxel-ui/helpers' ;
14
+ import { bool } from ' @cardstack/boxel-ui/helpers' ;
15
15
16
16
import { markdownToHtml } from ' @cardstack/runtime-common' ;
17
17
@@ -27,7 +27,6 @@ import { type CardDef } from 'https://cardstack.com/base/card-api';
27
27
import AiAssistantMessage from ' ../ai-assistant/message' ;
28
28
import { aiBotUserId } from ' ../ai-assistant/panel' ;
29
29
30
- import PreparingRoomMessageCommand from ' ./preparing-room-message-command' ;
31
30
import RoomMessageCommand from ' ./room-message-command' ;
32
31
33
32
interface Signature {
@@ -122,17 +121,8 @@ export default class RoomMessage extends Component<Signature> {
122
121
@ isStreaming ={{@ isStreaming }}
123
122
@ retryAction ={{@ retryAction }}
124
123
@ isPending ={{@ isPending }}
125
- <<<<<<< HEAD
126
124
data-test-boxel-message-from ={{this .message.author.name }}
127
125
data-test-boxel-message-instance-id ={{this .message.instanceId }}
128
- =======
129
- @ isCommandMessage ={{or
130
- ( bool @ message.command)
131
- @ message.isPreparingCommand
132
- }}
133
- data-test-boxel-message-from ={{@ message.author.name }}
134
- data-test-boxel-message-instance-id ={{@ message.instanceId }}
135
- >>>>>>> dd3d939b8 (Show ApplyButton's preparing state when a command is being prepared)
136
126
...attributes
137
127
>
138
128
{{#each this . message.commands as | command | }}
@@ -145,13 +135,7 @@ export default class RoomMessage extends Component<Signature> {
145
135
@ monacoSDK ={{@ monacoSDK }}
146
136
@ isError ={{bool this . errorMessage}}
147
137
/>
148
- <<<<<<< HEAD
149
138
{{/each }}
150
- =======
151
- {{else if @ message.isPreparingCommand }}
152
- <PreparingRoomMessageCommand />
153
- {{/if }}
154
- >>>>>>> dd3d939b8 (Show ApplyButton's preparing state when a command is being prepared)
155
139
</AiAssistantMessage >
156
140
{{/if }}
157
141
0 commit comments