From 3d6ef41ad12046fd79e28f1ace04401ee76f6fb2 Mon Sep 17 00:00:00 2001 From: Anan <19733801+Mohamed3nan@users.noreply.github.com> Date: Sat, 22 Jul 2023 10:06:34 +0300 Subject: [PATCH] Change Poe bot "Sage" to "Assistant" (#466) * Change Poe bot "Sage" to "Assistant" * Update index.mjs [comments](https://github.com/josStorer/chatGPTBox/commit/6c42167961f914d29be44ed52984451f2dd91668#comments) --------- Co-authored-by: josc146 --- src/config/index.mjs | 2 +- src/services/clients/poe/index.mjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/index.mjs b/src/config/index.mjs index 0da3bcf..9768f74 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -74,7 +74,7 @@ export const Models = { bingFree4: { value: '', desc: 'Bing (Web, GPT-4)' }, bingFreeSydney: { value: '', desc: 'Bing (Web, GPT-4, Sydney)' }, bardWebFree: { value: '', desc: 'Bard (Web)' }, - poeAiWebSage: { value: 'sage', desc: 'Poe AI (Web, Sage)' }, + poeAiWebSage: { value: 'Assistant', desc: 'Poe AI (Web, Assistant)' }, poeAiWebGPT4: { value: 'gpt-4', desc: 'Poe AI (Web, GPT-4)' }, poeAiWebGPT4_32k: { value: 'gpt-4-32k', desc: 'Poe AI (Web, GPT-4-32k)' }, poeAiWebClaudePlus: { value: 'claude-2-100k', desc: 'Poe AI (Web, Claude 2 100k)' }, diff --git a/src/services/clients/poe/index.mjs b/src/services/clients/poe/index.mjs index e108b32..ae13a62 100644 --- a/src/services/clients/poe/index.mjs +++ b/src/services/clients/poe/index.mjs @@ -31,7 +31,7 @@ export default class PoeAiClient { await this.getCredentials() } if (!this.bot) { - await this.initBot(model || 'sage') + await this.initBot(model || 'Assistant') } if (!this.chatId) { await this.getChatId(this.bot) @@ -131,7 +131,7 @@ export default class PoeAiClient { } async initBot(bot) { - if (bot === 'sage') { + if (bot === 'Assistant') { bot = 'capybara' } else if (bot === 'gpt-4') { bot = 'beaver'