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:
parent
f58d3b07b6
commit
23e3d05993
2 changed files with 1 additions and 4 deletions
|
|
@ -5,7 +5,6 @@ const messagesEl = document.getElementById('messages');
|
|||
const form = document.getElementById('chat-form');
|
||||
const input = document.getElementById('message-input');
|
||||
const sendBtn = document.getElementById('send-btn');
|
||||
const modelSelect = document.getElementById('model-select');
|
||||
|
||||
// State
|
||||
let isLoading = false;
|
||||
|
|
@ -591,8 +590,7 @@ form.addEventListener('submit', async function(e) {
|
|||
credentials: 'include',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
message: message,
|
||||
model: modelSelect.value
|
||||
message: message
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<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 class="bg-purple-900 border-b border-purple-800 px-4 py-3 flex items-center justify-between shrink-0">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue