diff --git a/tools/server/public_simplechat/index.html b/tools/server/public_simplechat/index.html
index dc2e66135b..702b902fb2 100644
--- a/tools/server/public_simplechat/index.html
+++ b/tools/server/public_simplechat/index.html
@@ -1,11 +1,11 @@
- SimpleChat LlamaCppEtal
+ SimpleChat/AnveshikaSallap LlamaCppEtal
-
+
diff --git a/tools/server/public_simplechat/readme.md b/tools/server/public_simplechat/readme.md
index 6958948edf..a889645f6f 100644
--- a/tools/server/public_simplechat/readme.md
+++ b/tools/server/public_simplechat/readme.md
@@ -1,5 +1,5 @@
-# SimpleChat
+# SimpleChat / AnveshikaSallap
by Humans for All.
diff --git a/tools/server/public_simplechat/simplechat.js b/tools/server/public_simplechat/simplechat.js
index a348a67115..273f6d3e28 100644
--- a/tools/server/public_simplechat/simplechat.js
+++ b/tools/server/public_simplechat/simplechat.js
@@ -1,6 +1,9 @@
// @ts-check
-// Core classes which provide a simple implementation of handshake with ai server's completions and chat/completions endpoints
-// as well as related web front end logic for basic usage and testing.
+// Core classes which provide a simple implementation of handshake with ai server's completions and
+// chat/completions endpoints as well as related web front end logic for basic usage and testing.
+// Supports tool calling (including a bunch of builtin ones), reasoning and vision related handshakes,
+// if supported by the ai model, that one is interacting with.
+//
// by Humans for All
import * as du from "./datautils.mjs";
@@ -18,6 +21,7 @@ export const AI_TC_SESSIONNAME = `TCExternalAI`
const ROLES_TEMP_ENDSWITH = TEMP_MARKER
+
export class Roles {
static System = "system";
static User = "user";
@@ -451,21 +455,26 @@ function usage_note(sRecentUserMsgCnt) {
Usage Note
- - New button creates new chat session, with its own system prompt.
+ - New btn creates new chat session, with its own system prompt & settings.
- Prompt button toggles system prompt entry.
- - System prompt above, helps control ai response characteristics.
- - Completion mode - no system prompt normally.
+ - System prompt, helps control ai response characteristics.
+ - No system prompt normally if using Completion mode
- Use shift+enter for inserting enter/newline.
- - Enter your query/response to ai assistant in text area provided below.
- - Use image button for vision models, submitting or switching session clears same
- - Settings button allows current chat session's configuration to be updated.
- - Remember that each chat session has its own setting.
- - settings-tools-enabled should be true to enable tool calling.
+ - Enter your query/response to ai assistant in user input area provided below.
- - If ai assistant requests a tool call, verify same before triggering.
+ - image btn for vision models, submitting / switching session clears same
+
+ - Settings button allows current chat session's configuration to be updated.
+
+ - Remember that each chat session has its own setting.
+
+ - settings-tools-enabled should be true for tool calling.
+
+ - if ai assistant requests a tool call, verify same before triggering.
- submit tool response placed into user query/response text area
+ - for web access inc search/pdf tool calls, run included simpleproxy.py
- ContextWindow = [System, ${sRecentUserMsgCnt} User Query/Resp, Cur Query].
@@ -2157,7 +2166,7 @@ export class Config {
export class Me {
constructor() {
- this.defaultChatIds = [ "Default", "Other", AI_TC_SESSIONNAME ];
+ this.defaultChatIds = [ "Chat1", "Chat2", AI_TC_SESSIONNAME ];
this.defaultCfg = new Config()
this.multiChat = new MultiChatUI(this);
this.toolsMgr = new mTools.ToolsManager()