mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-31 08:25:24 +00:00
upgraded settings
This commit is contained in:
parent
2357c30f40
commit
afd1b48d52
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
4
web/dist/index.html
vendored
@ -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-BsWWxXMf.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DHp8mvZr.css">
|
||||
<script type="module" crossorigin src="/assets/index-u-dRlu8W.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CuTYr9g3.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -1195,7 +1195,7 @@
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<button @click="addDatabaseService" class="mt-2 px-2 py-1 bg-blue-500 text-white rounded">Add Data lake</button>
|
||||
<button @click="addDataLake" class="mt-2 px-2 py-1 bg-blue-500 text-white rounded">Add Data lake</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -4707,7 +4707,25 @@ export default {
|
||||
this.configFile.datalakes[index].mounted = value;
|
||||
this.settingsChanged = true;
|
||||
},
|
||||
addDatabaseService() {
|
||||
addDatabaseService(){
|
||||
if (!this.configFile.rag_local_services) {
|
||||
this.configFile.rag_local_services = [];
|
||||
}
|
||||
|
||||
// Add new entry as an object with default values
|
||||
this.configFile.rag_local_services.push({
|
||||
alias: "datalake",
|
||||
type: "lightrag",
|
||||
url: "http://localhost:9621/",
|
||||
path: "",
|
||||
key: "",
|
||||
mounted: false
|
||||
});
|
||||
|
||||
this.settingsChanged = true;
|
||||
|
||||
},
|
||||
addDataLake() {
|
||||
if (!this.configFile.datalakes) {
|
||||
this.configFile.datalakes = [];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user