From 9fec7a86ec981112121fdcdce27f7bace6d08828 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 13 Oct 2024 16:37:11 +0200 Subject: [PATCH] upgraded links creation to add client_id --- lollms/personality.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lollms/personality.py b/lollms/personality.py index d04023c..ff6d71b 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -4267,7 +4267,7 @@ class APScript(StateMachine): ''' - def build_a_folder_link(self, folder_path, link_text="Open Folder"): + def build_a_folder_link(self, folder_path, client: Client, link_text="Open Folder"): folder_path = str(folder_path).replace('\\','/') return ''' '''+f'''{link_text}''' - def build_a_file_link(self, file_path, link_text="Open Folder"): + def build_a_file_link(self, file_path, client: Client, link_text="Open Folder"): file_path = str(file_path).replace('\\','/') return '''