File tree Expand file tree Collapse file tree 1 file changed +13
-23
lines changed
Expand file tree Collapse file tree 1 file changed +13
-23
lines changed Original file line number Diff line number Diff line change @@ -196,29 +196,6 @@ export const BranchItem = ({
196196 ) }
197197 { ! isCollapsed && (
198198 < box style = { { flexDirection : 'column' , gap : 1 } } >
199- { prompt && (
200- < box
201- border
202- borderStyle = "single"
203- customBorderChars = { borderCharsWithoutVertical }
204- style = { {
205- flexDirection : 'column' ,
206- gap : 0 ,
207- paddingLeft : 1 ,
208- paddingRight : 1 ,
209- paddingTop : 0 ,
210- paddingBottom : 0 ,
211- marginBottom : content ? 1 : 0 ,
212- } }
213- >
214- < text wrap fg = { theme . agentToggleHeaderText } >
215- Prompt
216- </ text >
217- < text wrap fg = { theme . agentText } >
218- { prompt }
219- </ text >
220- </ box >
221- ) }
222199 { content && (
223200 < box
224201 border
@@ -234,6 +211,19 @@ export const BranchItem = ({
234211 paddingBottom : 0 ,
235212 } }
236213 >
214+ { prompt && (
215+ < box style = { { flexDirection : 'column' , gap : 0 } } >
216+ < text wrap fg = { theme . agentToggleHeaderText } >
217+ Prompt
218+ </ text >
219+ < text wrap fg = { theme . agentText } >
220+ { prompt }
221+ </ text >
222+ < text wrap fg = { theme . agentToggleHeaderText } >
223+ Response
224+ </ text >
225+ </ box >
226+ ) }
237227 { renderExpandedContent ( content ) }
238228 </ box >
239229 ) }
You can’t perform that action at this time.
0 commit comments