Remove model name from public-facing code

Model selection now handled server-side. Follows branding
guideline to not expose implementation details (Claude, etc.)
in public interfaces.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
egregore 2026-02-02 20:30:16 +00:00
parent f58d3b07b6
commit 23e3d05993
2 changed files with 1 additions and 4 deletions

View file

@ -5,7 +5,6 @@ const messagesEl = document.getElementById('messages');
const form = document.getElementById('chat-form'); const form = document.getElementById('chat-form');
const input = document.getElementById('message-input'); const input = document.getElementById('message-input');
const sendBtn = document.getElementById('send-btn'); const sendBtn = document.getElementById('send-btn');
const modelSelect = document.getElementById('model-select');
// State // State
let isLoading = false; let isLoading = false;
@ -591,8 +590,7 @@ form.addEventListener('submit', async function(e) {
credentials: 'include', credentials: 'include',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ body: JSON.stringify({
message: message, message: message
model: modelSelect.value
}) })
}); });

View file

@ -16,7 +16,6 @@
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/style.css">
</head> </head>
<body class="bg-purple-950 text-gray-100 h-screen flex flex-col"> <body class="bg-purple-950 text-gray-100 h-screen flex flex-col">
<input type="hidden" id="model-select" value="claude-sonnet-4-20250514">
<!-- Header (mobile) --> <!-- Header (mobile) -->
<header class="bg-purple-900 border-b border-purple-800 px-4 py-3 flex items-center justify-between shrink-0"> <header class="bg-purple-900 border-b border-purple-800 px-4 py-3 flex items-center justify-between shrink-0">