From 2f8701fef31f6387960f4d9f39baf87205a8f9d4 Mon Sep 17 00:00:00 2001
From: retoor <retoor@molodetz.nl>
Date: Mon, 3 Mar 2025 14:09:28 +0100
Subject: [PATCH] Refactor.

---
 openai.h | 2 +-
 tools.h  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/openai.h b/openai.h
index b111a24..1b48901 100644
--- a/openai.h
+++ b/openai.h
@@ -76,4 +76,4 @@ char* openai_chat(char* user_role, char* message_content) {
     return strdup(content_str);
 }
 
-#endif
\ No newline at end of file
+#endif
diff --git a/tools.h b/tools.h
index b43e6ef..24e520a 100644
--- a/tools.h
+++ b/tools.h
@@ -297,7 +297,7 @@ struct json_object *tool_description_directory_glob() {
 
     struct json_object *function = json_object_new_object();
     json_object_object_add(function, "name", json_object_new_string("directory_glob"));
-    json_object_object_add(function, "description", json_object_new_string("List the contents of a specified directory. " 
+    json_object_object_add(function, "description", json_object_new_string("List the contents of a specified directory in glob format. " 
                 "Result is a json array containing objects with keys: name, modification_date(iso), creation_date(iso), type and size_bytes."));
 
     struct json_object *parameters = json_object_new_object();
@@ -306,7 +306,7 @@ struct json_object *tool_description_directory_glob() {
     struct json_object *properties = json_object_new_object();
     struct json_object *directory = json_object_new_object();
     json_object_object_add(directory, "type", json_object_new_string("string"));
-    json_object_object_add(directory, "description", json_object_new_string("Path to the directory to list."));
+    json_object_object_add(directory, "description", json_object_new_string("Path to the directory to list in glob format."));
     json_object_object_add(properties, "path", directory);
 
     json_object_object_add(parameters, "properties", properties);