diff --git a/public/js/chat.js b/public/js/chat.js index 395917a..952cf65 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -198,4 +198,16 @@ async function resetChat(displaySuccessMessage = true) { // Resets the chat on page load without displaying the success message document.addEventListener('DOMContentLoaded', function () { resetChat(false); -}); \ No newline at end of file +}); + +function openGpuStats() { + window.open('https://chat.x64.world/smi.html', 'gpuStatsWindow', 'width=800,height=600'); +} + +function openLiveLog() { + window.open('https://llama-live-log.x64.world/', 'liveLogWindow', 'width=600,height=600'); +} + +function openTop() { + window.open('https://ai-top.x64.world/', 'liveLogGtopWindow', 'width=800,height=600'); +} diff --git a/views/chat.ejs b/views/chat.ejs index 8ab35ee..46b40d5 100644 --- a/views/chat.ejs +++ b/views/chat.ejs @@ -24,7 +24,14 @@ - +
@@ -44,14 +51,32 @@ + @@ -67,6 +92,7 @@