Open godblessbb opened 10 months ago
the owner is trying to fix the error, for sometime try this: https://github.com/KoushikNavuluri/Claude-API
Hello, I recently improved the existing solutions, by fixing header consistency, adding auto session gathering using Firefox login and selenium, and auto user agent retrieval along with timezone.
My unofficial version of the API does currently work like a charm, it supports chat creation/deletion/retrieval and messages with attachments (with all the supported file types). It also let you handle a MessageRateLimit exception that provides you with the amount of seconds to sleep before next rateReset.
Come have a try! Leave a :star: if you can : )
@godblessbb @Randomboiii03 let me know if it works now. Usually its a problem with headers/cookies.
Traceback (most recent call last): File "/Users/bicaihua/PycharmProjects/Weibo/weibo-crawler/Claude_Copilot.py", line 109, in
main()
File "/Users/bicaihua/PycharmProjects/Weibo/weibo-crawler/Claude_Copilot.py", line 30, in main
claude_obj = claude_wrapper.ClaudeWrapper(client, organizations[0]['uuid']) # type: ignore
TypeError: 'NoneType' object is not subscriptable
error like above. how to solve this?