From 19c0ecb6c2f55fb152de6d22e308bd48c230e63c Mon Sep 17 00:00:00 2001 From: Anan <19733801+Mohamed3nan@users.noreply.github.com> Date: Fri, 30 Jun 2023 07:28:13 +0300 Subject: [PATCH] feat: add Poe Google-PaLM (#436) * feat: add Poe Google-PaLM * update src/services/clients/poe/index.mjs --- src/config/index.mjs | 2 ++ src/services/clients/poe/index.mjs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/config/index.mjs b/src/config/index.mjs index 38ac5ab4..0ab2b678 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -49,6 +49,7 @@ export const poeWebModelKeys = [ 'poeAiWebClaude100k', 'poeAiWebCustom', 'poeAiWebChatGpt', + 'poeAiWebGooglePaLM', ] /** @@ -76,6 +77,7 @@ export const Models = { poeAiWebClaudePlus: { value: 'claude+', desc: 'Poe AI (Web, Claude+)' }, poeAiWebClaude: { value: 'claude', desc: 'Poe AI (Web, Claude)' }, 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)' }, chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' }, gptApiDavinci: { value: 'text-davinci-003', desc: 'GPT-3.5' }, diff --git a/src/services/clients/poe/index.mjs b/src/services/clients/poe/index.mjs index 3b5fbc54..058b2209 100644 --- a/src/services/clients/poe/index.mjs +++ b/src/services/clients/poe/index.mjs @@ -143,6 +143,8 @@ export default class PoeAiClient { bot = 'a2' } else if (bot === 'chatgpt') { bot = 'chinchilla' + } else if (bot === 'Google-PaLM') { + bot = 'acouchy' } this.bot = bot