From 856f403f1d23d814aac17f4c585fd1c75d262024 Mon Sep 17 00:00:00 2001 From: hanishkvc Date: Mon, 24 Nov 2025 09:18:33 +0530 Subject: [PATCH] SimpleChatTCRV:AnveshikaSallap: cleanup in general Rename the default 2 chat session names to make them neutral. Update internal name to include AnveshikaSallap, better matching the semantic of the logic, given support for tool calling, vision, reasoning, ... Also update usage note wrt simpleproxy.py for web access related tool calls and few other minor tweeks. --- tools/server/public_simplechat/index.html | 7 +++-- tools/server/public_simplechat/readme.md | 2 +- tools/server/public_simplechat/simplechat.js | 33 +++++++++++++------- 3 files changed, 26 insertions(+), 16 deletions(-) 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