upgraded webui

This commit is contained in:
Saifeddine ALOUI 2024-08-15 23:51:21 +02:00
parent 2dbfca21b0
commit d8db509d2b
8 changed files with 11 additions and 11 deletions

@ -1 +1 @@
Subproject commit df4052e096a2b9aac2375b01e620a14a32d4d879
Subproject commit e8a141b8bdbeacb14d611591bb36a73dce7b7242

View File

@ -40,7 +40,7 @@ import re
import string
import requests
from datetime import datetime
from typing import List, Tuple,Callable
from typing import List, Tuple,Callable, Any
import time
import numpy as np
from lollms.utilities import find_first_available_file_index, convert_language_name
@ -697,7 +697,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
return discussion_messages # Removes the last return
def set_message_content(self, full_text:str, callback: Callable[[str, MSG_OPERATION_TYPE, dict, list], bool]|None=None, client_id=0):
def set_message_content(self, full_text:str, callback: Callable[[str | list | None, MSG_OPERATION_TYPE, str, Any | None], bool]|None=None, client_id=0):
"""This sends full text to front end
Args:
@ -1021,7 +1021,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
self,
data:str|list|None,
operation_type:MSG_OPERATION_TYPE,
client_id:int=0,
client_id:str=0,
personality:AIPersonality=None
):
"""

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI</title>
<script type="module" crossorigin src="/assets/index-46ea45b9.js"></script>
<link rel="stylesheet" href="/assets/index-863505e1.css">
<script type="module" crossorigin src="/assets/index-8a195c7d.js"></script>
<link rel="stylesheet" href="/assets/index-00555a63.css">
</head>
<body>
<div id="app"></div>

View File

@ -6,7 +6,7 @@
</span>
{{ jsonFormText }}
</div>
<div v-show="!collapsed" class="json-content">
<div v-show="!collapsed" class="json-content panels-color">
<json-tree-view :data="parsedJsonData" :depth="0"></json-tree-view>
</div>
</div>

@ -1 +1 @@
Subproject commit 89d27afaf2ef43cc70940365e04891d9a04f0773
Subproject commit 5a227bfa0601d5b72c75231073b54edd574da69e

@ -1 +1 @@
Subproject commit c3f64f7029d3bba82971259c248903c51eb490b1
Subproject commit 9357a1e0e8b7f1995d4534c49cc8b0aac1d45755