@@ -15,8 +15,8 @@ let isProcessing = false;
1515// Get session ID - either from URL parameter, injected session name, or generate new one
1616function getSessionId ( ) {
1717 // Check if session name was injected by server (for /session/:name routes)
18- if ( window . GOOSE_SESSION_NAME ) {
19- return window . GOOSE_SESSION_NAME ;
18+ if ( window . BIOROUTER_SESSION_NAME ) {
19+ return window . BIOROUTER_SESSION_NAME ;
2020 }
2121
2222 // Check URL parameters
@@ -121,7 +121,7 @@ function addThinkingIndicator() {
121121 <span></span>
122122 <span></span>
123123 </div>
124- <span class="thinking-text">goose is thinking...</span>
124+ <span class="thinking-text">biorouter is thinking...</span>
125125 ` ;
126126 messagesContainer . appendChild ( thinkingDiv ) ;
127127 messagesContainer . scrollTop = messagesContainer . scrollHeight ;
@@ -138,7 +138,7 @@ function removeThinkingIndicator() {
138138// Connect to WebSocket
139139function connectWebSocket ( ) {
140140 const protocol = window . location . protocol === 'https:' ? 'wss:' : 'ws:' ;
141- const token = window . GOOSE_WS_TOKEN || '' ;
141+ const token = window . BIOROUTER_WS_TOKEN || '' ;
142142 const wsUrl = `${ protocol } //${ window . location . host } /ws?token=${ encodeURIComponent ( token ) } ` ;
143143
144144 socket = new WebSocket ( wsUrl ) ;
@@ -477,7 +477,7 @@ async function loadSessionIfExists() {
477477
478478 // Update page title with session description if available
479479 if ( sessionData . metadata && sessionData . metadata . description ) {
480- document . title = `goose chat - ${ sessionData . metadata . description } ` ;
480+ document . title = `biorouter chat - ${ sessionData . metadata . description } ` ;
481481 }
482482
483483 messagesContainer . scrollTop = messagesContainer . scrollHeight ;
@@ -533,8 +533,8 @@ messageInput.focus();
533533// Update session title
534534function updateSessionTitle ( ) {
535535 const titleElement = document . getElementById ( 'session-title' ) ;
536- // Just show "goose chat" - no need to show session ID
537- titleElement . textContent = 'goose chat' ;
536+ // Just show "biorouter chat" - no need to show session ID
537+ titleElement . textContent = 'biorouter chat' ;
538538}
539539
540540// Update title on load
0 commit comments