diff --git a/cohere/client.py b/cohere/client.py index 183912834..24bfb38c6 100644 --- a/cohere/client.py +++ b/cohere/client.py @@ -87,6 +87,7 @@ def __request(self, json_body, endpoint, model) -> Response: headers = { 'Authorization': 'BEARER {}'.format(self.api_key), 'Content-Type': 'application/json' + 'Request-Source': 'python-sdk' } url = urljoin(self.api_url, model + "/" + endpoint) response = requests.request("POST", url, headers=headers, data=json_body) diff --git a/setup.py b/setup.py index 2432a01e1..d2dbeef34 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="cohere", - version="0.0.10", + version="0.0.11", author="kipply", author_email="carol@cohere.ai", description="A Python library for the Cohere API",