News for hackers. Stuff that matters.
Re:Show HN: Litellm – simple library to standardize OpenAI, ... by hardware2win on Thursday July 27, 2023 @08:23AM (#36892376)
>completion(..., azure=True)

Why like this?

Re:Show HN: Litellm – simple library to standardize OpenAI, ... by detente18 on Thursday July 27, 2023 @09:11AM (#36892889)
azure uses the openai python sdk, just remaps certain components. The models are also user-named. This makes it hard to detect if a model passed in is an azure model
Re:Show HN: Litellm – simple library to standardize OpenAI, ... by ij23 on Thursday July 27, 2023 @03:21PM (#36898778)
azure models have custom names - eg I call mine 'chat-gpt-test1', I require some flag to know if it's an azure model