litellm/tests/llm_translation
Ishaan Jaff 85acdb9193
[Feat] Add max_completion_tokens param (#5691)
* add max_completion_tokens

* add max_completion_tokens

* add max_completion_tokens support for OpenAI models

* add max_completion_tokens param

* add max_completion_tokens for bedrock converse models

* add test for converse maxTokens

* fix openai o1 param mapping test

* move test optional params

* add max_completion_tokens for anthropic api

* fix conftest

* add max_completion tokens for vertex ai partner models

* add max_completion_tokens for fireworks ai

* add max_completion_tokens for hf rest api

* add test for param mapping

* add param mapping for vertex, gemini + testing

* predibase is the most unstable and unusable llm api in prod, can't handle our ci/cd

* add max_completion_tokens to openai supported params

* fix fireworks ai param mapping
2024-09-14 14:57:01 -07:00
..
conftest.py [Feat] Add max_completion_tokens param (#5691) 2024-09-14 14:57:01 -07:00
test_fireworks_ai_translation.py [Feat] Add max_completion_tokens param (#5691) 2024-09-14 14:57:01 -07:00
test_max_completion_tokens.py [Feat] Add max_completion_tokens param (#5691) 2024-09-14 14:57:01 -07:00
test_openai_o1.py [Feat] Add max_completion_tokens param (#5691) 2024-09-14 14:57:01 -07:00
test_optional_params.py [Feat] Add max_completion_tokens param (#5691) 2024-09-14 14:57:01 -07:00