diff --git a/assets/icons/file_create.svg b/assets/icons/file_create.svg new file mode 100644 index 0000000000..bd7f88a7ec --- /dev/null +++ b/assets/icons/file_create.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/icons/file_delete.svg b/assets/icons/file_delete.svg new file mode 100644 index 0000000000..b84f79958f --- /dev/null +++ b/assets/icons/file_delete.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/crates/assistant_tools/src/create_file_tool.rs b/crates/assistant_tools/src/create_file_tool.rs index dc1b5c0f03..ccbb74803b 100644 --- a/crates/assistant_tools/src/create_file_tool.rs +++ b/crates/assistant_tools/src/create_file_tool.rs @@ -46,7 +46,7 @@ impl Tool for CreateFileTool { } fn icon(&self) -> IconName { - IconName::File + IconName::FileCreate } fn input_schema(&self) -> serde_json::Value { diff --git a/crates/assistant_tools/src/delete_path_tool.rs b/crates/assistant_tools/src/delete_path_tool.rs index 3bd55e6c3a..460b070b46 100644 --- a/crates/assistant_tools/src/delete_path_tool.rs +++ b/crates/assistant_tools/src/delete_path_tool.rs @@ -40,7 +40,7 @@ impl Tool for DeletePathTool { } fn icon(&self) -> IconName { - IconName::Trash + IconName::FileDelete } fn input_schema(&self) -> serde_json::Value { diff --git a/crates/icons/src/icons.rs b/crates/icons/src/icons.rs index d014c1e2ae..7366ce2e6c 100644 --- a/crates/icons/src/icons.rs +++ b/crates/icons/src/icons.rs @@ -100,6 +100,8 @@ pub enum IconName { Eye, File, FileCode, + FileCreate, + FileDelete, FileDoc, FileDiff, FileGeneric,