Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

[Bug]: KeyError: 'messages' #5

Open
2 tasks done
fat-ugly-man opened this issue Jun 4, 2023 · 2 comments
Open
2 tasks done

[Bug]: KeyError: 'messages' #5

fat-ugly-man opened this issue Jun 4, 2023 · 2 comments

Comments

@fat-ugly-man
Copy link

在提交前请确保以下这些

  • ChatGPT,EdgeGPT,BingImageCreator,GoogleBard,easy-ernie为最新版本
  • 在Issue无法找到它

操作系统

Linux

Python版本

3.10.9

问题

请求 new bing , 服务端有时候报错:
response["item"]["messages"][-1]["contentOrigin"] == "Apology"
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'messages'

触发

正常请求ask 接口的时候

报错

No response

其他

No response

@XiaoXinYo
Copy link
Owner

XiaoXinYo commented Jun 4, 2023

每次请求会报错吗?方便把报错信息完整复制下来吗?

@XiaoXinYo
Copy link
Owner

acheong08/EdgeGPT#374

@XiaoXinYo XiaoXinYo changed the title [Bug]: [Bug]: KeyError: 'messages' Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants