Persist chat history locally

This commit is contained in:
seo-amugae committed 2026-08-09 18:52:19 +09:00
1 parent 0ef55b1489
commit 2b2e5fcb0f
5 files changed
+165 -17

No files matched your search

+3 -10
View File
@@ -9,26 +9,19 @@
<body>
<aside class="sidebar">
<button class="new-chat" id="newChat" type="button">+ 새 대화</button>
<div class="history">
<button class="history-item active" type="button">로컬 LLM</button>
</div>
<div class="history" id="history"></div>
<div class="model">qwen2.5:7b</div>
</aside>
<main class="chat-shell">
<header class="topbar">
<div>
<strong>Local LLM</strong>
<strong id="chatTitle">Local LLM</strong>
<span>Ollama on this notebook</span>
</div>
</header>
<section class="messages" id="messages" aria-live="polite">
<article class="message assistant">
<div class="avatar">L</div>
<div class="bubble">안녕하세요. 이 노트북에서 실행되는 로컬 LLM입니다.</div>
</article>
</section>
<section class="messages" id="messages" aria-live="polite"></section>
<form class="composer" id="chatForm">
<textarea id="prompt" rows="1" placeholder="메시지를 입력하세요" autofocus></textarea>