yihong0618 / xiaogpt

Play ChatGPT and other LLM with Xiaomi AI Speaker
MIT License
5.9k stars 820 forks source link

使用过程中,调用 gpt3 接口的时候,报了个类型报错: 以下是 ChatGPT 的回答: ChatGPT 回答出错 'NoneType' object is not subscriptable #431

Closed kmq116 closed 6 months ago

kmq116 commented 6 months ago

image 如图,我自己测试 answer 赋值字符串,可以正常播报语音,然而调用 gpt 的时候,看样子是 python 自己的异常 用了自己的第三方的 gpt api 接口