diff --git a/server.js b/server.js index 67da0aa..8a79861 100644 --- a/server.js +++ b/server.js @@ -48,7 +48,9 @@ app.post('/api/chat', async (req, res) => { 'Content-Type': 'application/json', 'Authorization': `Bearer ${accessToken}`, 'anthropic-version': '2023-06-01', - 'anthropic-beta': 'oauth-2025-04-20', + 'anthropic-beta': 'claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14', + 'x-app': 'cli', + 'User-Agent': 'claude-cli/2.1.114', }, body: JSON.stringify({ model: modelId,