Closed marsnebulasoup closed 1 year ago
It appears that this is because Poe fetches the bot's settings one time only, when your bot is created. So, any new deploys don't work (if you change the models listed in server_bot_dependencies
). This can be refreshed by setting the bot as public, saving, then making it private again, since it appears this triggers a settings refetch.
I guess this would have to be done every time you change the server_bot_dependencies
, but otherwise, deploys should work fine.
Additionally, it seems to help to change the call count for certain models and redeploy in some cases. This seems to trigger some refresh. For example, changing it from 10 to 1 then attempting to send a message and if it works change it back to 10 again.
async def get_settings(self, setting: SettingsRequest) -> SettingsResponse:
return SettingsResponse(server_bot_dependencies={"Claude-2-100k": 10}) 👈 this
The way to manually update your bot's settings is documented here: https://developer.poe.com/server-bots/updating-bot-settings
Attempting to set up this repo with Poe, but I keep getting this error when I try to run any models. I haven't changed any code in the example, so I'm a bit confused as to why this is happening.
I get this error in Modal when I deploy and try to send any message.
I don't understand why it's saying the bot has a 0 or undefined call count, when it's clearly defined in the settings. I'm running the
GPT35TurboAllCapsBot
:If anyone could assist with this, that would be great.
Thanks