Skip to content

Commit 1c3d044

Browse files
committed
Simplify subagent content (no prompt/response labels)
1 parent 43d8d3c commit 1c3d044

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

cli/src/components/agent-branch-item.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,16 @@ export const AgentBranchItem = ({
259259
style={{
260260
flexDirection: 'column',
261261
gap: 0,
262+
marginBottom: content ? 1 : 0,
262263
}}
263264
>
264-
<text fg={theme.foreground}>Prompt</text>
265265
<text
266266
fg={theme.foreground}
267267
style={{ wrapMode: 'word' }}
268-
attributes={getAttributes()}
268+
attributes={getAttributes(TextAttributes.ITALIC)}
269269
>
270270
{prompt}
271271
</text>
272-
{content && (
273-
<text fg={theme.foreground} style={{ marginTop: 1 }}>
274-
Response
275-
</text>
276-
)}
277272
</box>
278273
)}
279274
{renderExpandedContent(content)}

0 commit comments

Comments
 (0)