mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-10 12:41:16 +00:00
sync
This commit is contained in:
parent
1fc2de6ea7
commit
4bb5d0a535
@ -1 +1 @@
|
||||
Subproject commit e566760cdd8ee3a9e72ed945102668e7702ea483
|
||||
Subproject commit fab35e47c5f71624acdc8f56c4dee03334885a25
|
@ -649,8 +649,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
|
||||
# Get the list of messages
|
||||
messages = discussion.get_messages()
|
||||
discussion_messages = f"{self.start_header_id_template}instruction{self.end_header_id_template}Create a short title to this discussion\nYour response should only contain the title without any comments.\n"
|
||||
discussion_title = f"\n{self.start_header_id_template}Discussion title{self.end_header_id_template}"
|
||||
discussion_messages = f"{self.system_full_header}Create a short title to this discussion\nYour response should only contain the title without any comments or thoughts.\n"
|
||||
discussion_title = f"\n{self.ai_custom_header('assistant')}"
|
||||
|
||||
available_space = (
|
||||
self.config.ctx_size
|
||||
|
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-DEmaslXn.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BxZCDxOb.css">
|
||||
<script type="module" crossorigin src="/assets/index-DAcF_b4U.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CYzgfFpJ.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -389,7 +389,7 @@ export default {
|
||||
error: null,
|
||||
isInfosMenuVisible: false,
|
||||
isVisible: false,
|
||||
isPinned: false,
|
||||
isPinned: JSON.parse(localStorage.getItem('isPinned') || 'false'),
|
||||
selectedLanguage: '',
|
||||
isLanguageMenuVisible: false,
|
||||
sunIcon: document.querySelector(".sun"),
|
||||
@ -439,6 +439,7 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
try {
|
||||
this.isVisible = this.isPinned
|
||||
this.$store.state.toast = this.$refs.toast
|
||||
this.$store.state.messageBox = this.$refs.messageBox
|
||||
this.$store.state.universalForm = this.$refs.universalForm
|
||||
@ -707,6 +708,8 @@ export default {
|
||||
togglePin() {
|
||||
this.isPinned = !this.isPinned
|
||||
this.isVisible = this.isPinned
|
||||
// Save the new state to localStorage
|
||||
localStorage.setItem('isPinned', JSON.stringify(this.isPinned))
|
||||
},
|
||||
fun_mode_on(){
|
||||
console.log("Turning on fun mode")
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 5d9509cd0075a811c4c5703d7172a80698d4ac0a
|
||||
Subproject commit 515f1518c20f91f796dce0f8d19889b8d983f9ef
|
Loading…
x
Reference in New Issue
Block a user