Add request source

This commit is contained in:
BeatrixCohere 2024-05-21 10:12:57 +01:00
parent 07abccf96f
commit ecd6037e15
2 changed files with 2 additions and 0 deletions

View file

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

View file

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