upgraded ersion

This commit is contained in:
Saifeddine ALOUI 2025-01-13 22:59:26 +01:00
parent d4e01ff26d
commit 8c92c3056b
10 changed files with 1923 additions and 1989 deletions

View File

@ -1,7 +1,25 @@
<div class="mb-6">
<div class="bg-gradient-welcome card p-6 rounded-lg shadow-lg">
<h3 class="text-gradient-title text-3xl font-bold mb-4">🚀 Exciting Updates! 🚀</h3>
<h3 class="text-gradient-title text-3xl font-bold mb-4">🚀 Exciting Updates in v17 "Pulsar"! 🚀</h3>
<div class="card mb-6 transition-all duration-300 hover:shadow-xl">
<div class="flex items-center gap-3 mb-4">
<span class="text-3xl">📊</span>
<h4 class="text-subtitle text-2xl font-bold">Enhanced Datalakes System</h4>
</div>
<div class="space-y-4 text-left">
<p class="text-progress leading-relaxed">
Experience our new unified datalakes system with LightRAG integration! Now supporting multiple datalakes with both local and remote data capabilities for enhanced knowledge management.
</p>
<div class="bg-gradient-progress p-4 rounded-md border-l-4 border-current">
<p class="text-progress italic">
"Seamlessly manage and access your data across multiple sources with improved efficiency!"
</p>
</div>
</div>
</div>
<div class="card mb-6 transition-all duration-300 hover:shadow-xl">
<div class="flex items-center gap-3 mb-4">
<span class="text-3xl">🎨</span>
@ -30,30 +48,19 @@
<div class="card mb-6 hover:shadow-xl transition-all duration-300">
<div class="flex items-center gap-3 mb-4">
<span class="text-3xl">🛠️</span>
<span class="text-3xl">🎮</span>
<h4 class="text-subtitle text-2xl font-bold">New Apps in the Zoo</h4>
</div>
<div class="space-y-4 text-left">
<p class="text-progress text-lg leading-relaxed">
Explore our latest additions to the LoLLMs app ecosystem:
Discover our latest additions to the LoLLMs app ecosystem:
</p>
<div class="village-life-update">
<h3 class="text-xl font-bold mb-4">Village Life Simulator: Major Update</h3>
<ul class="list-disc list-inside space-y-2 pl-4 text-progress">
<li>Custom Memories: Implement unique, personalized memories for each villager</li>
<li>Enhanced UI: Improved visual representation of the village layout and dynamics</li>
<li>Gender Selection: Ability to set and customize villager genders</li>
<li>Rich Discussions: Significantly more detailed and nuanced conversations between villagers</li>
<li>Contextual Depth: Enhanced context embedding in all simulation steps for more realistic interactions</li>
<li>Multi-Participant Debates: Support for discussions involving more than two villagers, enabling complex group dynamics</li>
<li>Story Building: Create immersive, detailed narratives based on the simulation outcomes</li>
</ul>
<p class="mt-4 text-sm text-warning">
<strong>Note:</strong> This update is more resource-intensive. Please be mindful of token usage and ensure a large context size for optimal performance.
</p>
</div>
<ul class="list-disc list-inside space-y-2 pl-4 text-progress">
<li><strong>Jump Man:</strong> A nostalgic gaming experience that brings back the classic Jump Man game</li>
<li><strong>LoLLMs Code Updater:</strong> A powerful tool for batch-processing code updates using LoLLMs. Already proven its worth in enhancing our settings section!</li>
</ul>
<div class="bg-gradient-progress p-4 rounded-md border-l-4 border-current mt-4">
<p class="text-progress italic">
@ -61,7 +68,6 @@
</p>
</div>
</div>
</div>
<div class="card hover:shadow-xl transition-all duration-300">
@ -101,4 +107,4 @@
<div class="text-center mt-6">
<p class="text-xl font-bold text-gradient-title">Thank you for watching and staying updated with LoLLMs!</p>
<p class="text-lg text-progress">We appreciate your continued support and engagement with our platform.</p>
</div>
</div>

View File

@ -1,4 +1,4 @@
{
"url":"https://www.youtube.com/watch?v=RkXS-gy2TmU&lc=UgzCDOEGTuJjd_4ubJ94AaABAg&ab_channel=ParisNeo",
"type":"tutorial"
"url":"https://www.youtube.com/watch?v=IzZWVv2RpHI&ab_channel=ParisNeo",
"type":"music"
}

View File

@ -75,7 +75,7 @@ def terminate_thread(thread):
) # The current version of the webui
lollms_webui_version = "v16 (codename Nexus 🌀)"
lollms_webui_version = "v17 (codename Pulsar 💫)"
class LOLLMSWebUI(LOLLMSElfServer):

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
web/dist/assets/index-WwR15mI_.css vendored Normal file

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -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-u-dRlu8W.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CuTYr9g3.css">
<script type="module" crossorigin src="/assets/index-CF61mWQQ.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-WwR15mI_.css">
</head>
<body>
<div id="app"></div>

View File

@ -108,6 +108,23 @@
</div>
</div>
</div>
<div style="margin: 20px;">
<a
href="https://github.com/ParisNeo/lollms-webui"
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center gap-2 px-3 py-1.5 text-sm text-gray-700 hover:text-gray-900 bg-gray-100 hover:bg-gray-200 rounded-md transition-colors duration-200 my-4 mx-2"
>
<svg
class="w-5 h-5"
viewBox="0 0 16 16"
fill="currentColor"
>
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
</svg>
<span class="font-medium" v-if="starCount">{{ starCount }}</span>
</a>
</div>
<div v-if="is_fun_mode"
title="Fun mode is on, press to turn off"
class="w-8 h-8 cursor-pointer btn-on transition-colors duration-300"
@ -143,23 +160,73 @@
<i data-feather="moon"></i>
</div>
<div class="relative ml-2">
<button @click="toggleLanguageMenu" class="svg-button">
{{ $store.state.language.slice(0, 2) }}
</button>
<div v-if="isLanguageMenuVisible" ref="languageMenu" class="container context-menu absolute left-0 mt-1 rounded shadow-lg z-10 overflow-y-auto scrollbar-thin" style="position: absolute; top: 100%; width: 200px; max-height: 300px; overflow-y: auto;">
<ul style="list-style-type: none; padding-left: 0; margin-left: 0;">
<li v-for="language in languages" :key="language" class="relative flex items-center" style="padding-left: 0; margin-left: 0;">
<button @click="deleteLanguage(language)" class="mr-2 ml-2 text-red-500 hover:text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-opacity-50 rounded-full"></button>
<div @click="selectLanguage(language)" :class="{'cursor-pointer hover:bg-blue-500 hover:text-white py-2 px-4 block whitespace-no-wrap': true, 'bg-blue-500 text-white': language === $store.state.language, 'flex-grow': true}">
{{ language }}
</div>
</li>
<li class="cursor-pointer py-0 px-0 block whitespace-no-wrap">
<input type="text" v-model="customLanguage" @keyup.enter.prevent="addCustomLanguage" placeholder="Enter language..." class="bg-transparent mr-2 ml-2 border border-gray-300 rounded py-0 px-0 mx-0 my-1 w-full">
</li>
</ul>
</div>
</div>
<button
@click="toggleLanguageMenu"
class="flex items-center gap-2 px-3 py-2 rounded-md hover:bg-gray-100 transition-colors"
aria-haspopup="true"
:aria-expanded="isLanguageMenuVisible"
>
<span class="font-medium">{{ $store.state.language.slice(0, 2) }}</span>
<svg
class="w-4 h-4 transition-transform"
:class="{ 'rotate-180': isLanguageMenuVisible }"
viewBox="0 0 24 24"
>
<path d="M7 10l5 5 5-5z" fill="currentColor" />
</svg>
</button>
<Transition
enter-active-class="transition duration-200 ease-out"
enter-from-class="transform scale-95 opacity-0"
enter-to-class="transform scale-100 opacity-100"
leave-active-class="transition duration-150 ease-in"
leave-from-class="transform scale-100 opacity-100"
leave-to-class="transform scale-95 opacity-0"
>
<div
v-if="isLanguageMenuVisible"
ref="languageMenu"
class="absolute left-0 mt-1 w-64 rounded-lg shadow-lg bg-white border border-gray-200 z-10"
role="menu"
>
<ul class="py-2 max-h-72 overflow-y-auto">
<li
v-for="language in languages"
:key="language"
class="group flex items-center px-3 py-2 hover:bg-gray-50"
>
<button
@click="deleteLanguage(language)"
class="p-1 rounded-full opacity-0 group-hover:opacity-100 transition-opacity text-gray-400 hover:text-red-500 hover:bg-red-50"
:aria-label="`Delete ${language}`"
>
<svg class="w-4 h-4" viewBox="0 0 24 24">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="currentColor" />
</svg>
</button>
<div
@click="selectLanguage(language)"
class="flex-grow px-3 py-1 cursor-pointer rounded-md transition-colors"
:class="language === $store.state.language ? 'bg-blue-50 text-blue-600' : 'hover:bg-gray-100'"
role="menuitem"
>
{{ language }}
</div>
</li>
<li class="px-3 py-2 border-t border-gray-100">
<input
type="text"
v-model="customLanguage"
@keyup.enter.prevent="addCustomLanguage"
placeholder="Add new language..."
class="w-full px-3 py-2 rounded-md border border-gray-200 focus:border-blue-500 focus:ring-1 focus:ring-blue-500 outline-none transition-all"
>
</li>
</ul>
</div>
</Transition>
</div>
<div class="relative inline-flex ml-2">
<!-- Enhanced custom button -->
@ -288,6 +355,7 @@ export default {
},
data() {
return {
starCount:null,
themeDropdownOpen: false,
currentTheme: localStorage.getItem('preferred-theme') || 'default',
availableThemes: [],
@ -368,6 +436,14 @@ export default {
this.error = 'Failed to initialize theme system'
console.error(err)
}
try {
const response = await fetch('https://api.github.com/repos/ParisNeo/lollms-webui')
const data = await response.json()
this.starCount = data.stargazers_count
} catch (error) {
console.error('Error fetching GitHub stars:', error)
}
},
beforeUnmount() {
document.removeEventListener('click', this.handleClickOutside)

View File

@ -1382,7 +1382,8 @@ export default {
"The project maintains a philosophy of 'Don't panic, bring a towel, and trust in AI' - a reference to The Hitchhiker's Guide to the Galaxy",
"Despite having multiple patents in various fields, ParisNeo's interest in AI was sparked when he read about AlexNet in 2012",
"LoLLMs receives daily updates, similar to course corrections on a starship",
"ParisNeo's journey into programming shows his determination - he taught himself BASIC by reverse engineering games before he even knew English"
"ParisNeo's journey into programming shows his determination - he taught himself BASIC by reverse engineering games before he even knew English",
"Version 17 of LoLLMs, nicknamed 'Pulsar', draws inspiration from the most precise natural clocks in the universe - pulsating neutron stars. Just as pulsars emit precise, regular signals that help navigate spacecraft, LoLLMs Pulsar orchestrates precise communication between different AI systems. The version number 17 wasn't just sequential - pulsars rotate up to 1.7 thousand times per second, making '17' a cosmic nod to these incredible stellar lighthouses of space!"
],
randomFact: "",
showPlaceholderModal: false,

File diff suppressed because it is too large Load Diff