From 372795996abc49602eae475df573f639ed566a97 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 12 Jul 2023 20:01:06 +0800 Subject: [PATCH 1/2] Update the name of Anthropic's Claude bots on Poe.com (#452) * Update "Claude+" on Poe to "Claude 2 100k" * Update "Claude" on Poe to "Claude instant" --- src/config/index.mjs | 8 ++++---- src/services/clients/poe/index.mjs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/config/index.mjs b/src/config/index.mjs index 0ab2b678..5db8d0ac 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -44,7 +44,7 @@ export const githubThirdPartyApiModelKeys = ['waylaidwandererApi'] export const poeWebModelKeys = [ 'poeAiWebSage', 'poeAiWebGPT4', - 'poeAiWebClaudePlus', + 'poeAiWebClaude_2_100k', 'poeAiWebClaude', 'poeAiWebClaude100k', 'poeAiWebCustom', @@ -74,8 +74,8 @@ export const Models = { bardWebFree: { value: '', desc: 'Bard (Web)' }, poeAiWebSage: { value: 'sage', desc: 'Poe AI (Web, Sage)' }, poeAiWebGPT4: { value: 'gpt-4', desc: 'Poe AI (Web, GPT-4)' }, - poeAiWebClaudePlus: { value: 'claude+', desc: 'Poe AI (Web, Claude+)' }, - poeAiWebClaude: { value: 'claude', desc: 'Poe AI (Web, Claude)' }, + poeAiWebClaude_2_100k: { value: 'claude-2-100k', desc: 'Poe AI (Web, Claude 2 100k)' }, + poeAiWebClaude: { value: 'claude-instant', desc: 'Poe AI (Web, Claude instant)' }, poeAiWebClaude100k: { value: 'claude-instant-100k', desc: 'Poe AI (Web, Claude instant 100k)' }, poeAiWebGooglePaLM: { value: 'Google-PaLM', desc: 'Poe AI (Web, Google-PaLM)' }, chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' }, @@ -164,7 +164,7 @@ export const defaultConfig = { 'bingFreeSydney', 'poeAiWebSage', 'poeAiWebGPT4', - 'poeAiWebClaudePlus', + 'poeAiWebClaude_2_100k', 'poeAiWebClaude100k', 'chatgptApi4_8k', 'customModel', diff --git a/src/services/clients/poe/index.mjs b/src/services/clients/poe/index.mjs index 058b2209..eca75c8a 100644 --- a/src/services/clients/poe/index.mjs +++ b/src/services/clients/poe/index.mjs @@ -137,9 +137,9 @@ export default class PoeAiClient { bot = 'beaver' } else if (bot === 'claude-instant-100k') { bot = 'a2_100k' - } else if (bot === 'claude+') { + } else if (bot === 'claude-2-100k') { bot = 'a2_2' - } else if (bot === 'claude') { + } else if (bot === 'claude-instant') { bot = 'a2' } else if (bot === 'chatgpt') { bot = 'chinchilla' From 9ec3bbe5ee5c66b7bb77719fedc46395480a6161 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 12 Jul 2023 21:35:50 +0800 Subject: [PATCH 2/2] Add ChatGPT-16k & GPT-4-32k on Poe (#458) * Add ChatGPT-16k on Poe * Add GPT-4-32k on Poe --- src/config/index.mjs | 5 +++++ src/services/clients/poe/index.mjs | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/config/index.mjs b/src/config/index.mjs index 5db8d0ac..0206ca29 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -44,11 +44,13 @@ export const githubThirdPartyApiModelKeys = ['waylaidwandererApi'] export const poeWebModelKeys = [ 'poeAiWebSage', 'poeAiWebGPT4', + 'poeAiWebGPT4_32k', 'poeAiWebClaude_2_100k', 'poeAiWebClaude', 'poeAiWebClaude100k', 'poeAiWebCustom', 'poeAiWebChatGpt', + 'poeAiWebChatGpt_16k', 'poeAiWebGooglePaLM', ] @@ -74,6 +76,7 @@ export const Models = { bardWebFree: { value: '', desc: 'Bard (Web)' }, poeAiWebSage: { value: 'sage', desc: 'Poe AI (Web, Sage)' }, poeAiWebGPT4: { value: 'gpt-4', desc: 'Poe AI (Web, GPT-4)' }, + poeAiWebGPT4_32k: { value: 'gpt-4-32k', desc: 'Poe AI (Web, GPT-4-32k)' }, poeAiWebClaude_2_100k: { value: 'claude-2-100k', desc: 'Poe AI (Web, Claude 2 100k)' }, poeAiWebClaude: { value: 'claude-instant', desc: 'Poe AI (Web, Claude instant)' }, poeAiWebClaude100k: { value: 'claude-instant-100k', desc: 'Poe AI (Web, Claude instant 100k)' }, @@ -86,6 +89,7 @@ export const Models = { waylaidwandererApi: { value: '', desc: 'Waylaidwanderer API (Github)' }, poeAiWebCustom: { value: '', desc: 'Poe AI (Web, Custom)' }, poeAiWebChatGpt: { value: 'chatgpt', desc: 'Poe AI (Web, ChatGPT)' }, + poeAiWebChatGpt_16k: { value: 'chatgpt-16k', desc: 'Poe AI (Web, ChatGPT-16k)' }, } for (const modelName in Models) { @@ -164,6 +168,7 @@ export const defaultConfig = { 'bingFreeSydney', 'poeAiWebSage', 'poeAiWebGPT4', + 'poeAiWebGPT4_32k', 'poeAiWebClaude_2_100k', 'poeAiWebClaude100k', 'chatgptApi4_8k', diff --git a/src/services/clients/poe/index.mjs b/src/services/clients/poe/index.mjs index eca75c8a..e108b321 100644 --- a/src/services/clients/poe/index.mjs +++ b/src/services/clients/poe/index.mjs @@ -135,6 +135,8 @@ export default class PoeAiClient { bot = 'capybara' } else if (bot === 'gpt-4') { bot = 'beaver' + } else if (bot === 'gpt-4-32k') { + bot = 'vizcacha' } else if (bot === 'claude-instant-100k') { bot = 'a2_100k' } else if (bot === 'claude-2-100k') { @@ -143,6 +145,8 @@ export default class PoeAiClient { bot = 'a2' } else if (bot === 'chatgpt') { bot = 'chinchilla' + } else if (bot === 'chatgpt-16k') { + bot = 'agouti' } else if (bot === 'Google-PaLM') { bot = 'acouchy' }