The API webchat window now has a dynamic title. see #696
This commit is contained in:
parent
b7f3b15b2a
commit
cf5ba3450a
2 changed files with 3 additions and 1 deletions
|
|
@ -115,6 +115,8 @@ if (worker) {
|
||||||
case 'anthropic': llmName = "Claude"; break;
|
case 'anthropic': llmName = "Claude"; break;
|
||||||
}
|
}
|
||||||
messagesArea.setLLMName(llmName);
|
messagesArea.setLLMName(llmName);
|
||||||
|
|
||||||
|
document.title += " [" + llmName + " | " + decodeURIComponent(prompt_name) + "]";
|
||||||
|
|
||||||
let workerInitMessage = {
|
let workerInitMessage = {
|
||||||
type: 'init',
|
type: 'init',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<!-- Other meta tags and stylesheets -->
|
<!-- Other meta tags and stylesheets -->
|
||||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||||
|
<title>ThunderAI Assistant</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Use the custom tags directly -->
|
<!-- Use the custom tags directly -->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue