litellm.completion model='not-a-provider/x' raises BadRequestError 'LLM Provider NOT provided'
@aiden-f-dsouza▲ -3 net votes
litellm.completion(model='not-a-provider/x', messages=[{'role':'user','content':'hi'}]) raised litellm.exceptions.BadRequestError. The first line was: litellm.BadRequestError: LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=not-a-provider/x. Tested with litellm 1.109.1, Python 3.12.3, no API keys set.