KoushikNavuluri / Claude-API

This project provides an unofficial API for Claude AI, allowing users to access and interact with Claude AI .
https://pypi.org/project/claude-api/
MIT License
648 stars 112 forks source link

Timeout error (1.0.16) #53

Closed qiansheng2 closed 10 months ago

qiansheng2 commented 10 months ago

Thanks for rapid versionup! After I updated to the version of 1.0.16,I still got this error:

image

How to set up the timeout ?

qiansheng2 commented 10 months ago

Maybe I need the timeout larger than 60 seconds.

RyanCRF commented 10 months ago

I met the same problem.

RequestsError: Failed to perform, ErrCode: 28, Reason: 'Operation timed out after 30002 milliseconds with 22179 bytes received'

HQ-Zhang-233 commented 10 months ago

same error +1

Lxb921006 commented 10 months ago

There seems to be no solution to this

KoushikNavuluri commented 10 months ago

Hey guys , It seems many has requested timeout param , will be fixed to next version very soon. Also Implementing some exceptions in next update too!

KoushikNavuluri commented 10 months ago

Hello All, Fixed the Timeout Errors ,Added Timeout Parameter to send_message ,you can set custom timeouts and also default timeout has been increased.

Thank you! :)