From cf5ba3450abecd1073f940764031e6b60a56d8a4 Mon Sep 17 00:00:00 2001 From: mic Date: Fri, 20 Mar 2026 18:32:11 +0100 Subject: [PATCH] The API webchat window now has a dynamic title. see #696 --- api_webchat/controller.js | 2 ++ api_webchat/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api_webchat/controller.js b/api_webchat/controller.js index 934f83f9..e5138da0 100644 --- a/api_webchat/controller.js +++ b/api_webchat/controller.js @@ -115,6 +115,8 @@ if (worker) { case 'anthropic': llmName = "Claude"; break; } messagesArea.setLLMName(llmName); + + document.title += " [" + llmName + " | " + decodeURIComponent(prompt_name) + "]"; let workerInitMessage = { type: 'init', diff --git a/api_webchat/index.html b/api_webchat/index.html index 5d803548..509c7017 100644 --- a/api_webchat/index.html +++ b/api_webchat/index.html @@ -3,7 +3,7 @@ - + ThunderAI Assistant