File tree Expand file tree Collapse file tree 1 file changed +4
-36
lines changed
Expand file tree Collapse file tree 1 file changed +4
-36
lines changed Original file line number Diff line number Diff line change @@ -193,28 +193,6 @@ export const AgentBranchItem = ({
193193 width : '100%' ,
194194 } }
195195 >
196- { prompt ? (
197- < box
198- style = { {
199- flexDirection : 'column' ,
200- gap : 0 ,
201- paddingLeft : 0 ,
202- paddingRight : 0 ,
203- paddingTop : 0 ,
204- paddingBottom : 0 ,
205- width : '100%' ,
206- } }
207- >
208- < text fg = { theme . foreground } > Prompt</ text >
209- < text
210- fg = { theme . foreground }
211- style = { { wrapMode : 'word' } }
212- attributes = { getAttributes ( ) }
213- >
214- { prompt }
215- </ text >
216- </ box >
217- ) : null }
218196 < box
219197 style = { {
220198 flexDirection : 'row' ,
@@ -228,20 +206,15 @@ export const AgentBranchItem = ({
228206 onMouseDown = { onToggle }
229207 >
230208 < text style = { { wrapMode : 'none' } } >
231- < span fg = { toggleIconColor } >
232- { toggleLabel }
233- </ span >
209+ < span fg = { toggleIconColor } > { toggleLabel } </ span >
234210 < span
235211 fg = { theme . foreground }
236212 attributes = { isExpanded ? TextAttributes . BOLD : undefined }
237213 >
238214 { name }
239215 </ span >
240216 { titleSuffix ? (
241- < span
242- fg = { theme . foreground }
243- attributes = { TextAttributes . BOLD }
244- >
217+ < span fg = { theme . foreground } attributes = { TextAttributes . BOLD } >
245218 { ` ${ titleSuffix } ` }
246219 </ span >
247220 ) : null }
@@ -293,9 +266,7 @@ export const AgentBranchItem = ({
293266 marginBottom : content ? 1 : 0 ,
294267 } }
295268 >
296- < text fg = { theme . foreground } >
297- Prompt
298- </ text >
269+ < text fg = { theme . foreground } > Prompt</ text >
299270 < text
300271 fg = { theme . foreground }
301272 style = { { wrapMode : 'word' } }
@@ -304,10 +275,7 @@ export const AgentBranchItem = ({
304275 { prompt }
305276 </ text >
306277 { content && (
307- < text
308- fg = { theme . foreground }
309- style = { { marginTop : 1 } }
310- >
278+ < text fg = { theme . foreground } style = { { marginTop : 1 } } >
311279 Response
312280 </ text >
313281 ) }
You can’t perform that action at this time.
0 commit comments