mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
upgraded
This commit is contained in:
parent
18198f8f98
commit
cd07e0307c
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-qvaLafRN.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-6QoepHjD.css">
|
||||
<script type="module" crossorigin src="/assets/index-CX5jATIW.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Dk2jggHn.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -1951,6 +1951,8 @@ export default {
|
||||
preview = preview.replace(regex, value || placeholder.fullText);
|
||||
});
|
||||
this.previewPrompt = preview;
|
||||
console.log("previewPrompt")
|
||||
console.log(this.previewPrompt)
|
||||
},
|
||||
escapeRegExp(string) {
|
||||
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
||||
@ -1975,7 +1977,10 @@ export default {
|
||||
// Apply the final prompt and close modal
|
||||
this.finalPrompt = finalPrompt;
|
||||
this.showPlaceholderModal = false;
|
||||
this.setPromptInChatbox(this.previewPrompt);
|
||||
console.log("previewPrompt apply")
|
||||
console.log(this.previewPrompt)
|
||||
|
||||
this.setPromptInChatbox(this.getPromptContent(this.previewPrompt));
|
||||
},
|
||||
|
||||
extractPlaceholders(prompt) {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 85d55d27d251b27aac11ed9e581193907f0f69bf
|
||||
Subproject commit 4b299818e120a6b76d119905d965bb30abc39131
|
Loading…
Reference in New Issue
Block a user