This commit is contained in:
Saifeddine ALOUI 2024-04-27 02:01:19 +02:00
parent 4e73be255b
commit 00a7930692
7 changed files with 326 additions and 262 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
version: 81
version: 82
binding_name: null
model_name: null
model_variant: null
@ -109,6 +109,10 @@ petals_device: cuda
# lollms service
enable_lollms_service: false
lollms_base_url: http://localhost:1234
activate_lollms_server: True
activate_ollama_emulator: True
activate_openai_emulator: True
activate_mistralai_emulator: True
# elastic search service
elastic_search_service: false

@ -1 +1 @@
Subproject commit e56042bcec12b5e131fbee4274a9c12e91b33b59
Subproject commit cbe2a5363ad5ef914b71a948560b0accce15cc66

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 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-700a9376.js"></script>
<link rel="stylesheet" href="/assets/index-197f5f8e.css">
<script type="module" crossorigin src="/assets/index-2ad452f8.js"></script>
<link rel="stylesheet" href="/assets/index-97238be3.css">
</head>
<body>
<div id="app"></div>

View File

@ -1289,52 +1289,112 @@
<Card title="Lollms service" :is_subcard="true" class="pb-2 m-2">
<table class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
<tr>
<td style="min-width: 200px;">
<label for="host" class="text-sm font-bold" style="margin-right: 1rem;">Host:</label>
</td>
<td style="width: 100%;">
<input
type="text"
id="host"
required
v-model="configFile.host"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Port:</label>
</td>
<td style="width: 100%;">
<input
type="number"
step="1"
id="port"
required
v-model="configFile.port"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Activate headless server mode (deactivates all code exectuion to protect the PC from attacks):</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="headless_server_mode"
required
v-model="configFile.headless_server_mode"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
</table>
<td style="min-width: 200px;">
<label for="host" class="text-sm font-bold" style="margin-right: 1rem;">Host:</label>
</td>
<td style="width: 100%;">
<input
type="text"
id="host"
required
v-model="configFile.host"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Port:</label>
</td>
<td style="width: 100%;">
<input
type="number"
step="1"
id="port"
required
v-model="configFile.port"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="discussion_db_name" class="text-sm font-bold" style="margin-right: 1rem;">Activate headless server mode (deactivates all code exectuion to protect the PC from attacks):</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="headless_server_mode"
required
v-model="configFile.headless_server_mode"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="activate_lollms_server" class="text-sm font-bold" style="margin-right: 1rem;">Activate lollms server:</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="activate_lollms_server"
required
v-model="configFile.activate_lollms_server"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="activate_ollama_emulator" class="text-sm font-bold" style="margin-right: 1rem;">Activate ollama server emulator:</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="activate_ollama_emulator"
required
v-model="configFile.activate_ollama_emulator"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="activate_openai_emulator" class="text-sm font-bold" style="margin-right: 1rem;">Activate openai server emulator:</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="activate_openai_emulator"
required
v-model="configFile.activate_openai_emulator"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
<tr>
<td style="min-width: 200px;">
<label for="activate_mistralai_emulator" class="text-sm font-bold" style="margin-right: 1rem;">Activate mistral ai server emulator:</label>
</td>
<td style="width: 100%;">
<input
type="checkbox"
id="activate_mistralai_emulator"
required
v-model="configFile.activate_mistralai_emulator"
@change="settingsChanged=true"
class="w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"
>
</td>
</tr>
</table>
</Card>
<Card title="Stable diffusion service" :is_subcard="true" class="pb-2 m-2">

@ -1 +1 @@
Subproject commit 372de0496a69f68b1c2a6e25360cab8933433b62
Subproject commit 0720312eb32599e446343478bf37518b1a80c328