👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀
GNU General Public License v3.0
953
stars
111
forks
source link
bug report: "TypeError: 'coroutine' object is not subscriptable" #168
Closed
lbqc closed 5 months ago
Bug Report
TypeError: 'coroutine' object is not subscriptable
Description
When calling
AsyncPoeApi.send_message
methods with a specifiedchatId
parameter, an error occurs:The error occurs in the code located at:
envs\poe_wrapper39\lib\site-packages\poe_api_wrapper\async_api.py:494
:Steps to Reproduce
AsyncPoeApi.send_message
method with a specifiedchatId
parameter.AsyncPoeApi.delete_chat
method with a specifiedchatId
parameter.Resolution
The issue was resolved by modifying the code as follows:
and
Environment