forked from phoenix/litellm-mirror
Merge pull request #3759 from BeatrixCohere/beatrix/CohereClient
[Cohere] Add request source to request
This commit is contained in:
commit
42c18a68e9
2 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue