poe-platform / server-bot-quick-start

Tutorial for Poe server bots
1.31k stars 192 forks source link

Can't use any other models besides Claude-instant-100k #84

Open marsnebulasoup opened 3 months ago

marsnebulasoup commented 3 months ago

I'm constantly running into this error whenever I attempt to use any other models besides Claude-instant-100k. For example with ChatGPT:

Error in Poe bot: Bot request to ChatGPT failed on try 0 
 BotError('{"allow_retry": true, "text": "Internal server error"}')

I specify in settings the model as a dependency, but it doesn't make a difference:

    async def get_settings(self, setting: SettingsRequest) -> SettingsResponse:
        return SettingsResponse(server_bot_dependencies={"ChatGPT": 1})

Originally I thought it could be an issue with settings not being updated, but I've experimented by creating new bots but the issue persists. I've also made requests to the refetch settings endpoint:

curl -X POST https://api.poe.com/bot/fetch_settings/<botname>/<access_key>