Skip to content

Commit

Permalink
Add GPT-4-32k on Poe
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Jul 12, 2023
1 parent 1e6d666 commit a33e76d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const githubThirdPartyApiModelKeys = ['waylaidwandererApi']
export const poeWebModelKeys = [
'poeAiWebSage',
'poeAiWebGPT4',
'poeAiWebGPT4_32k',
'poeAiWebClaude_2_100k',
'poeAiWebClaude',
'poeAiWebClaude100k',
Expand Down Expand Up @@ -75,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)' },
Expand Down Expand Up @@ -166,6 +168,7 @@ export const defaultConfig = {
'bingFreeSydney',
'poeAiWebSage',
'poeAiWebGPT4',
'poeAiWebGPT4_32k',
'poeAiWebClaude_2_100k',
'poeAiWebClaude100k',
'chatgptApi4_8k',
Expand Down
2 changes: 2 additions & 0 deletions src/services/clients/poe/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit a33e76d

Please sign in to comment.