diff --git a/src/bots/ClaudeAIBot.js b/src/bots/ClaudeAIBot.js index bac43dcef..97fc5062b 100644 --- a/src/bots/ClaudeAIBot.js +++ b/src/bots/ClaudeAIBot.js @@ -26,10 +26,10 @@ export default class ClaudeAIBot extends Bot { if (store.state.claudeAi.org) { const currentAcountResponse = await axios.get( - "https://claude.ai/api/auth/current_account", + "https://claude.ai/api/account", ); - if (currentAcountResponse.data.success) { + if (currentAcountResponse.status === 200) { available = true; } } @@ -105,7 +105,6 @@ export default class ClaudeAIBot extends Bot { /** * Should implement this method if the bot supports conversation. * The conversation structure is defined by the subclass. - * @param null * @returns {any} - Conversation structure. null if not supported. */ async createChatContext() {