wwwzhouhui / Claude2-PyAPI

一个使用python 实现Claude2 创建会话、聊天、发送附件、获取历史会话,清理历史记录等功能的api接口,可以对接第三方系统作为二次开发使用。
MIT License
305 stars 49 forks source link

uuid 获取失败 #5

Closed flyingantwjy closed 11 months ago

flyingantwjy commented 11 months ago

File "e:\人工智能\claude\Claude2-PyAPI-master\Claude2-PyAPI-master\claude_api.py", line 34, in get_organization_id uuid = res[0]['uuid'] KeyError: 0

wwwzhouhui commented 11 months ago

这个应该是网络问题导致获取不到uuid的值,可以参考这个https://github.com/wwwzhouhui/Claude2-PyAPI/issues/2 解答