This commit is contained in:
Saifeddine ALOUI 2025-01-13 23:54:09 +01:00
parent 95a265db4d
commit 953879e8b0
4 changed files with 22 additions and 8 deletions

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-Bq0XZKQz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-D0hRKIH3.css">
<script type="module" crossorigin src="/assets/index-D-1N2b3n.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CxOTt8kU.css">
</head>
<body>
<div id="app"></div>

View File

@ -1073,7 +1073,7 @@
</div>
<div class="space-y-4">
<div v-for="(source, index) in configFile.rag_served_databases" :key="index"
<div v-for="(source, index) in configFile.rag_local_services" :key="index"
class="p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<!-- Database Alias -->
@ -4399,7 +4399,21 @@ export default {
this.settingsChanged = true;
}
},
getServedDatabaseAlias(index) {
return this.configFile.rag_local_services[index].alias;
},
getServedDatabaseType(index) {
return this.configFile.rag_local_services[index].type;
},
getServedDatabaseUrl(index) {
return this.configFile.rag_local_services[index].url;
},
getServedDatabaseStatus(index) {
return this.configFile.rag_local_services[index].mounted || false;
},
getServedDatabaseKey(index) {
return this.configFile.rag_local_services[index].key || "";
},
getDataLakeAlias(index) {
return this.configFile.datalakes[index].alias;
},