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
725 stars 120 forks source link

Uploading file not implemented #50

Closed emsi closed 1 year ago

emsi commented 1 year ago

After switching to culr_cffi uploading files is not working any more/

I'm getting:

NotImplementedError: Files has not been implemented.

It's raised from:

        # files
        if files:
            raise NotImplementedError("Files has not been implemented.")

I'm almost certain that yesterday, when I was debugging claud api that was still broken, uploading files worked and the failure occurred a bit later.

qiansheng2 commented 1 year ago

I have the same error after update the claude_api to 1.0.15 image

emsi commented 1 year ago

I have the same error after update the claude_api to 1.0.15

The PR: https://github.com/KoushikNavuluri/Claude-API/pull/51 solves that. p.s. make sure to apply https://github.com/KoushikNavuluri/Claude-API/pull/49 as well as the current code times out quickly

KoushikNavuluri commented 1 year ago

Hey Guys, File handling and other issues has been fixed ,Please Update to Package == 1.0.16.

:)