myContainers / assistant.patch
TobDeBer's picture
assistant patches
4d0c2cb
diff --git a/examples/server/public/index-new.html b/examples/server/public/index-new.html
index c87dd8f1..d1aed025 100644
--- a/examples/server/public/index-new.html
+++ b/examples/server/public/index-new.html
@@ -1063,7 +1063,7 @@ return html`
return html`
<div class="mode-${session.value.type}">
<header>
- <h2>llama.cpp</h2>
+ <h2>modelname</h2>
<div class="dropdown">
<button class="dropbtn"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10" stroke-width="2"/></svg></button>
<div class="dropdown-content" id="theme-selector">
diff --git a/examples/server/public/index.html b/examples/server/public/index.html
index 07fec6a3..0d873f3f 100644
--- a/examples/server/public/index.html
+++ b/examples/server/public/index.html
@@ -3,7 +3,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="color-scheme" content="light dark">
- <title>llama.cpp - chat</title>
+ <title>assistantname - chat</title>
<style>
body {
@@ -288,12 +288,12 @@
var slot_id = -1;
const session = signal({
- prompt: "This is a conversation between User and Llama, a friendly chatbot. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
+ prompt: "This is a conversation between User and assistantname, a friendly chatbot. assistantname is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
template: "{{prompt}}\n\n{{history}}\n{{char}}:",
historyTemplate: "{{name}}: {{message}}",
transcript: [],
type: "chat", // "chat" | "completion"
- char: "Llama",
+ char: "assistantname",
user: "User",
image_selected: ''
})
@@ -1258,7 +1258,7 @@
<header>
<div class="grid-container">
<div class="grid-item"></div>
- <div class="grid-item"><h1>llama.cpp</h1></div>
+ <div class="grid-item"><h1>modelname</h1></div>
<div class="grid-item"><a class="customlink" href="index-new.html">New UI</a></div>
</div>
</header>