Skip to content

Commit 0cd78b1

Browse files
committed
Fix indexed resources indentation to match pinned resources
- Change knowledge entries indent from 4 spaces to 8 spaces - Now both pinned and indexed resources have consistent formatting - Agent header already fixed with 2-space prefix
1 parent 46c11e5 commit 0cd78b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chat-cli/src/cli/chat/cli/knowledge.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl KnowledgeSubcommand {
145145
session.stderr,
146146
style::SetAttribute(crossterm::style::Attribute::Bold),
147147
style::SetForegroundColor(Color::Magenta),
148-
style::Print(format!("👤 Agent ({}):\n", agent)),
148+
style::Print(format!(" 👤 Agent ({}):\n", agent)),
149149
style::SetAttribute(crossterm::style::Attribute::Reset),
150150
)?;
151151

@@ -165,7 +165,7 @@ impl KnowledgeSubcommand {
165165
style::SetForegroundColor(Color::Reset)
166166
)?;
167167
} else {
168-
Self::format_knowledge_entries_with_indent(session, &entries, " ")?;
168+
Self::format_knowledge_entries_with_indent(session, &entries, " ")?;
169169
}
170170
},
171171
Err(_) => {

0 commit comments

Comments
 (0)