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:
parent
66dda8e368
commit
862e733ef5
24 changed files with 47 additions and 34 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue