agent: Make all icons used for tool calls consistent (#34160)

Starting to use the `Tool...` family of icons dedicated & designed for
the agent panel.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-07-09 19:28:46 -03:00 committed by GitHub
parent 66dda8e368
commit 862e733ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 47 additions and 34 deletions

View file

@ -68,7 +68,7 @@ impl Tool for FindPathTool {
}
fn icon(&self) -> IconName {
IconName::SearchCode
IconName::ToolSearch
}
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> Result<serde_json::Value> {
@ -313,7 +313,7 @@ impl ToolCard for FindPathToolCard {
.mb_2()
.gap_1()
.child(
ToolCallCardHeader::new(IconName::SearchCode, matches_label)
ToolCallCardHeader::new(IconName::ToolSearch, matches_label)
.with_code_path(&self.glob)
.disclosure_slot(
Disclosure::new("path-search-disclosure", self.expanded)