assistant2: Adjust icons for some tools (#27814)

Picking more specific icons for a few tools.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-03-31 20:12:51 -03:00 committed by GitHub
parent dce824f095
commit 33912011b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -91,7 +91,7 @@ impl Tool for CodeSymbolsTool {
} }
fn icon(&self) -> IconName { fn icon(&self) -> IconName {
IconName::Eye IconName::Code
} }
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value { fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value {

View file

@ -55,7 +55,7 @@ impl Tool for DiagnosticsTool {
} }
fn icon(&self) -> IconName { fn icon(&self) -> IconName {
IconName::Warning IconName::XCircle
} }
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value { fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value {

View file

@ -32,7 +32,7 @@ impl Tool for OpenTool {
} }
fn icon(&self) -> IconName { fn icon(&self) -> IconName {
IconName::ExternalLink IconName::ArrowUpRight
} }
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value { fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value {

View file

@ -56,7 +56,7 @@ impl Tool for ReadFileTool {
} }
fn icon(&self) -> IconName { fn icon(&self) -> IconName {
IconName::Eye IconName::FileSearch
} }
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value { fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value {

View file

@ -81,7 +81,7 @@ impl Tool for SymbolInfoTool {
} }
fn icon(&self) -> IconName { fn icon(&self) -> IconName {
IconName::Eye IconName::Code
} }
fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value { fn input_schema(&self, format: LanguageModelToolSchemaFormat) -> serde_json::Value {