fix(cli): unskip first slash command output (#8482)

This commit is contained in:
Aditya Mitra 2025-10-28 23:15:27 +05:30 • committed by GitHub
parent 09b09b9a1c
commit 22016af4ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,13 +56,6 @@ export const MemoizedMessage = memo<MemoizedMessageProps>(
// Handle system messages
if (isSystem) {
// TODO: Properly separate LLM system messages from UI informational messages
// using discriminated union types. For now, skip displaying the first system
// message which is typically the LLM's system prompt.
if (index === 0) {
return null;
}
return (
<Box key={index} marginBottom={1}>
<Text color="dim" italic>