assistant2: Add new icons for create and delete file tool (#27487)
Release Notes: - N/A
This commit is contained in:
parent
7462e74fbf
commit
d52291bac1
5 changed files with 14 additions and 2 deletions
|
@ -46,7 +46,7 @@ impl Tool for CreateFileTool {
|
|||
}
|
||||
|
||||
fn icon(&self) -> IconName {
|
||||
IconName::File
|
||||
IconName::FileCreate
|
||||
}
|
||||
|
||||
fn input_schema(&self) -> serde_json::Value {
|
||||
|
|
|
@ -40,7 +40,7 @@ impl Tool for DeletePathTool {
|
|||
}
|
||||
|
||||
fn icon(&self) -> IconName {
|
||||
IconName::Trash
|
||||
IconName::FileDelete
|
||||
}
|
||||
|
||||
fn input_schema(&self) -> serde_json::Value {
|
||||
|
|
|
@ -100,6 +100,8 @@ pub enum IconName {
|
|||
Eye,
|
||||
File,
|
||||
FileCode,
|
||||
FileCreate,
|
||||
FileDelete,
|
||||
FileDoc,
|
||||
FileDiff,
|
||||
FileGeneric,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue