litellm icon indicating copy to clipboard operation
litellm copied to clipboard

[Feature]: Support Azure OpenAI `max_completion_tokens` param

Open taralika opened this issue 4 months ago • 0 comments

The Feature

Now that Azure OpenAI has added support for the max_completion_tokens param, remove this special case handling here: https://github.com/BerriAI/litellm/blob/8359cb6fa9bf7b0bf4f3df630cf8666adffa2813/litellm/llms/AzureOpenAI/chat/gpt_transformation.py#L202

Motivation, pitch

https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models?tabs=python-secure#api-support

Twitter / LinkedIn details

No response

taralika avatar Oct 22 '24 15:10 taralika