togethercomputer / together-python

The Official Python Client for Together's API
https://pypi.org/project/together/
Apache License 2.0
24 stars 5 forks source link

Add verify api key and file uplaod 403 catch #70

Closed azahed98 closed 5 months ago

azahed98 commented 7 months ago

Adds a check to make sure that file uploads have an API Key set, and catches 403 for inadequate or invalid api keys.

linear[bot] commented 7 months ago
ENG-945 File Upload check API Key

Right now API Key not set results in 500 error. We need to update it to check the api key first.