What happened?
I was wondering why my code was not working, I was dumb and didn't set my anthropic variable. After several minutes of waiting, I finally got the error message:
litellm.exceptions.AuthenticationError: litellm.AuthenticationError: Missing Anthropic API Key - A call is being made to anthropic but no key is set either in the environment variables or via params. Please set `ANTHROPIC_API_KEY` in your environment vars
I have 2 complains:
_turn_on_debug should log errors before retrying
litellm.Authentification error should raise directly and not retry
Relevant log output
What part of LiteLLM is this about?
SDK (litellm Python package)
What LiteLLM version are you on ?
v1.80.0
Twitter / LinkedIn details
No response