AshwinPathi / claude-api-py

Unofficial Python API for Anthropic's Claude LLM
https://pypi.org/project/claude-api-py/
MIT License
108 stars 11 forks source link

schema error #8

Closed zenafey closed 11 months ago

zenafey commented 11 months ago

while trying to start new conv or send message code shows this error: requests.exceptions.MissingSchema: Invalid URL '<http.client.HTTPResponse object at 0x0000022655E3E700>': No scheme supplied. Perhaps you meant https://<http.client.HTTPResponse object at 0x0000022655E3E700>?

title rename, org id functions work properly

AshwinPathi commented 11 months ago

@zenafey what version of python are you using?

zenafey commented 11 months ago

@AshwinPathi 3.8.10 and 3.11.3(tried both)

zenafey commented 11 months ago

Im so sorry bro, that was just my stupid mistake, i installed sseclient, not sseclient-py, after installing second one any errors gone! thnaks

AshwinPathi commented 11 months ago

@zenafey yep that'll do it 😅 . Plan is to make my own SSE library and make the library have 0 dependencies soon. Thanks for debugging the issue!