The API webchat window now has a dynamic title. see #696

This commit is contained in:
mic 2026-03-20 18:32:11 +01:00
parent b7f3b15b2a
commit cf5ba3450a
2 changed files with 3 additions and 1 deletions

View file

@ -115,6 +115,8 @@ if (worker) {
case 'anthropic': llmName = "Claude"; break;
}
messagesArea.setLLMName(llmName);
document.title += " [" + llmName + " | " + decodeURIComponent(prompt_name) + "]";
let workerInitMessage = {
type: 'init',

View file

@ -3,7 +3,7 @@
<head>
<!-- Other meta tags and stylesheets -->
<link rel="stylesheet" type="text/css" href="styles.css">
<title>ThunderAI Assistant</title>
</head>
<body>
<!-- Use the custom tags directly -->