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 <josStorer@outlook.com>
This commit is contained in:
Anan
2023-07-22 15:06:34 +08:00
committed by GitHub
co-authored by josc146
parent 3bef0c0c98
commit 3d6ef41ad1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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'