mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-11 13:04:17 +00:00
27ff234b7d
* [Feat] New LLM API Integration - Add Moonshot API (Kimi) (#12551) * Add Moonshot AI provider support to LiteLLM Co-authored-by: ishaan <ishaan@berri.ai> * Refactor Moonshot provider params handling and transformation logic Co-authored-by: ishaan <ishaan@berri.ai> * fix constants * add Moonshot AI * fix get_supported_openai_params * handle kimi temp * add tool choice handling * test moonshot unit tests * fix kimi * fix linting * Add pricing information for Moonshot AI's kimi-k2 model (#12566) * Add pricing information for Moonshot AI's kimi-k2 model * Update model name to kimi-k2-0711-preview - Changed model name from moonshot/kimi-k2 to moonshot/kimi-k2-0711-preview - This reflects the specific model version as requested * Update moonshot_models list to match model_context JSON --------- Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: ishaan <ishaan@berri.ai> Co-authored-by: Xingyao Wang <xingyao@all-hands.dev> Co-authored-by: openhands <openhands@all-hands.dev> * update docs * docs moonshot * fixes model cost map * fix map_openai_params --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: ishaan <ishaan@berri.ai> Co-authored-by: Xingyao Wang <xingyao@all-hands.dev> Co-authored-by: openhands <openhands@all-hands.dev>