From dc68f0307f40570c4c7959f5bd42aebb2a0d5581 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 18 Sep 2023 01:58:28 -0400 Subject: [PATCH] Allow empty when calling "read_dir" --- src/tools/filesystem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/filesystem.rs b/src/tools/filesystem.rs index eb32657..57639da 100644 --- a/src/tools/filesystem.rs +++ b/src/tools/filesystem.rs @@ -111,7 +111,7 @@ impl Tool for ReadDir { identifier: "read_dir", description: "Read the content of a directory.", group: "filesystem", - inputs: vec![ValueType::String], + inputs: vec![ValueType::String, ValueType::Empty], } }