From 0569efaaea611ac425a2a7343a5e4fd80d2d9ce6 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 9 Jul 2023 19:32:25 +0200 Subject: [PATCH] upgraded --- app.py | 2 + web/src/App.vue | 14 +- web/src/components/ChatBox.vue | 38 +++-- web/src/components/MountedPersonalities.vue | 67 ++++++-- .../components/MountedPersonalitiesList.vue | 29 +++- web/src/main.js | 150 +++++++++++++++++- 6 files changed, 255 insertions(+), 45 deletions(-) diff --git a/app.py b/app.py index 281c7acb..a2911052 100644 --- a/app.py +++ b/app.py @@ -383,6 +383,8 @@ class LoLLMsWebUI(LoLLMsAPPI): personality_info['author'] = config_data.get('author', 'ParisNeo') personality_info['version'] = config_data.get('version', '1.0.0') personality_info['installed'] = (self.lollms_paths.personal_configuration_path/f"personality_{personality_folder.stem}.yaml").exists() or personality_info['has_scripts'] + personality_info['help'] = config_data.get('help', '') + personality_info['commands'] = config_data.get('commands', '') real_assets_path = personality_folder/ 'assets' assets_path = Path("personalities") / lang / cat / pers / 'assets' gif_logo_path = assets_path / 'logo.gif' diff --git a/web/src/App.vue b/web/src/App.vue index b0cea8f9..66ee0c0a 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,30 +1,22 @@ diff --git a/web/src/components/ChatBox.vue b/web/src/components/ChatBox.vue index dc8e6d80..8246c382 100644 --- a/web/src/components/ChatBox.vue +++ b/web/src/components/ChatBox.vue @@ -100,18 +100,22 @@
- -
- +
- +
+ +