mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix keys
This commit is contained in:
parent
ba6df5fbb9
commit
5c60a36105
2 changed files with 26 additions and 1 deletions
|
@ -27,7 +27,7 @@ class AnthropicLLM:
|
|||
# set the api key
|
||||
if self.api_key == None:
|
||||
raise ValueError("Missing Anthropic API Key - A call is being made to anthropic but no key is set either in the environment variables or via params")
|
||||
|
||||
self.api_key = api_key
|
||||
self.headers = {
|
||||
"accept": "application/json",
|
||||
"anthropic-version": "2023-06-01",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue