Skip to content

Commit b3f2aec

Browse files
tusharmathlaststylebender14
authored andcommitted
fix(ui): simplify search query display format (#2083)
1 parent 82216d5 commit b3f2aec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/forge_app/src/fmt/fmt_input.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ impl FormatContent for ToolCatalog {
6464
let pairs: Vec<_> = input
6565
.queries
6666
.iter()
67-
.map(|sq| format!("{} [{}]", sq.query, sq.use_case))
67+
.map(|item| item.query.as_str())
6868
.collect();
6969
Some(
70-
TitleFormat::debug("Codebase Search:")
71-
.sub_title(pairs.join(", "))
70+
TitleFormat::debug("Codebase Search")
71+
.sub_title(format!("[{}]", pairs.join(" · ")))
7272
.into(),
7373
)
7474
}

0 commit comments

Comments
 (0)