litellm-mirror/litellm/llms/openai
Krish Dholakia 0178e75cd9 Litellm dev 12 30 2024 p1 (#7480)
* test(azure_openai_o1.py): initial commit with testing for azure openai o1 preview model

* fix(base_llm_unit_tests.py): handle azure o1 preview response format tests

skip as o1 on azure doesn't support tool calling yet

* fix: initial commit of azure o1 handler using openai caller

simplifies calling + allows fake streaming logic alr. implemented for openai to just work

* feat(azure/o1_handler.py): fake o1 streaming for azure o1 models

azure does not currently support streaming for o1

* feat(o1_transformation.py): support overriding 'should_fake_stream' on azure/o1 via 'supports_native_streaming' param on model info

enables user to toggle on when azure allows o1 streaming without needing to bump versions

* style(router.py): remove 'give feedback/get help' messaging when router is used

Prevents noisy messaging

Closes https://github.com/BerriAI/litellm/issues/5942

* test: fix azure o1 test

* test: fix tests

* fix: fix test
2024-12-30 21:52:52 -08:00
..
chat Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
completion Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00
fine_tuning (Feat) - new endpoint GET /v1/fine_tuning/jobs/{fine_tuning_job_id:path} (#7427) 2024-12-27 17:01:14 -08:00
realtime (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
transcriptions Litellm dev 12 23 2024 p1 (#7383) 2024-12-23 16:33:31 -08:00
common_utils.py (fix) unable to pass input_type parameter to Voyage AI embedding mode (#7276) 2024-12-17 19:23:49 -08:00
cost_calculation.py LiteLLM Minor Fixes & Improvements (12/16/2024) - p1 (#7263) 2024-12-17 15:33:36 -08:00
openai.py Litellm dev 12 30 2024 p1 (#7480) 2024-12-30 21:52:52 -08:00