Merge pull request #3759 from BeatrixCohere/beatrix/CohereClient

[Cohere] Add request source to request
This commit is contained in:
Ishaan Jaff 2024-05-21 11:19:57 -07:00 committed by GitHub
commit 42c18a68e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -117,6 +117,7 @@ class CohereConfig:
def validate_environment(api_key):
headers = {
"Request-Source":"unspecified:litellm",
"accept": "application/json",
"content-type": "application/json",
}

View file

@ -112,6 +112,7 @@ class CohereChatConfig:
def validate_environment(api_key):
headers = {
"Request-Source":"unspecified:litellm",
"accept": "application/json",
"content-type": "application/json",
}