This commit is contained in:
Saifeddine ALOUI 2023-09-13 02:37:12 +02:00
parent 292cbd6887
commit fd2c921ab7
4 changed files with 17 additions and 17 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 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-002f260b.js"></script>
<link rel="stylesheet" href="/assets/index-bc493f0a.css">
<script type="module" crossorigin src="/assets/index-f94f26a9.js"></script>
<link rel="stylesheet" href="/assets/index-98bcc0af.css">
</head>
<body>
<div id="app"></div>

View File

@ -2407,7 +2407,7 @@ export default {
axios.post("/add_reference_to_local_model",{"path": this.reference_path}).then((resp)=>{
if(resp.status){
this.$refs.toast.showToast("Reference created", 4, true)
this.fetchModels();
this.$store.dispatch('refreshModels');
}
else{
this.$refs.toast.showToast("Couldn't create reference", 4, false)