This commit is contained in:
Saifeddine ALOUI 2024-03-19 00:23:37 +01:00
parent 16a15f7565
commit 2f380f44e8
7 changed files with 36 additions and 37 deletions

View File

@ -30,7 +30,7 @@ router = APIRouter()
async def get_lollms_webui_version():
"""Get the version of the LoLLMs Web UI application."""
# Return the version string
return {"id":2}
return {"id":3}
@router.get("/get_lollms_webui_version")
async def get_lollms_webui_version():

@ -1 +1 @@
Subproject commit 3193a4665849dfec94acc17f0d1e717ce21c686f
Subproject commit 517ffa0c58c8f5a5d7884c3336a5c2797da07f99

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-0f099a96.js"></script>
<link rel="stylesheet" href="/assets/index-9e4f0eb6.css">
<script type="module" crossorigin src="/assets/index-e09b2851.js"></script>
<link rel="stylesheet" href="/assets/index-2c1333b9.css">
</head>
<body>
<div id="app"></div>

View File

@ -106,7 +106,7 @@
class=" w-6 text-blue-400 hover:text-secondary duration-75 active:scale-90">
<img :src="inactive_skills">
</button>
<button v-if="!loading && $store.state.config.activate_skills_lib" type="button" @click.stop="showSkillsLib" title="Skills database is deactivated"
<button v-if="!loading" type="button" @click.stop="showSkillsLib" title="Skills database is deactivated"
class=" w-6 text-blue-400 hover:text-secondary duration-75 active:scale-90">
<img :src="skillsRegistry">
</button>
@ -581,7 +581,6 @@ export default {
async toggleSkillsLib(){
this.$store.state.config.activate_skills_lib =! this.$store.state.config.activate_skills_lib;
await this.applyConfiguration();
socket.emit('upgrade_vectorization');
},
async showSkillsLib(){
this.$refs.skills_lib.showSkillsLibrary()

@ -1 +1 @@
Subproject commit 8aa769b6fae2feb5de0fec26f821b65203134bc0
Subproject commit 506b592b304732158d169beacba1df8b5c6ffe35