Commit graph

37 commits

Author SHA1 Message Date
Krish Dholakia
713d762411 LiteLLM Minor Fixes and Improvements (09/13/2024) (#5689)
* refactor: cleanup unused variables + fix pyright errors

* feat(health_check.py): Closes https://github.com/BerriAI/litellm/issues/5686

* fix(o1_reasoning.py): add stricter check for o-1 reasoning model

* refactor(mistral/): make it easier to see mistral transformation logic

* fix(openai.py): fix openai o-1 model param mapping

Fixes https://github.com/BerriAI/litellm/issues/5685

* feat(main.py): infer finetuned gemini model from base model

Fixes https://github.com/BerriAI/litellm/issues/5678

* docs(vertex.md): update docs to call finetuned gemini models

* feat(proxy_server.py): allow admin to hide proxy model aliases

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

* docs(load_balancing.md): add docs on hiding alias models from proxy config

* fix(base.py): don't raise notimplemented error

* fix(user_api_key_auth.py): fix model max budget check

* fix(router.py): fix elif

* fix(user_api_key_auth.py): don't set team_id to empty str

* fix(team_endpoints.py): fix response type

* test(test_completion.py): handle predibase error

* test(test_proxy_server.py): fix test

* fix(o1_transformation.py): fix max_completion_token mapping

* test(test_image_generation.py): mark flaky test
2024-09-14 10:02:55 -07:00
Ishaan Jaff
b6aac98f65 test test_image_generation_azure_dall_e_3 2024-08-27 22:52:11 -07:00
Krrish Dholakia
ea247bbc4d test(test_image_generation.py): handle azure api error 2024-08-21 21:46:00 -07:00
Ishaan Jaff
015b2ee7d9 testing skip internal server errors 2024-08-08 19:09:46 -07:00
Krish Dholakia
88a2428ee6 Merge branch 'main' into litellm_anthropic_api_streaming 2024-08-03 21:16:50 -07:00
Krrish Dholakia
598c1430b0 test: fix test 2024-08-03 20:28:11 -07:00
Ishaan Jaff
5f23f51a68 fix test test_aimage_generation_vertex_ai 2024-08-03 18:32:52 -07:00
Krrish Dholakia
147ecc635e fix(bedrock.py): fix response format for bedrock image generation response
Fixes https://github.com/BerriAI/litellm/issues/5010
2024-08-03 09:46:49 -07:00
Krrish Dholakia
789d2dab15 fix(vertex_httpx.py): add sync vertex image gen support
Fixes https://github.com/BerriAI/litellm/issues/4623
2024-07-09 13:33:54 -07:00
Krrish Dholakia
7d4f9be426 fix(azure.py): fix httpx call for dall e 3 2024-07-02 18:30:21 -07:00
Krrish Dholakia
68934b9761 refactor(azure.py): refactor sync azure calls to httpx 2024-07-02 17:06:48 -07:00
Krrish Dholakia
a6faa5161c refactor(azure.py): replaces the custom transport logic for just using our httpx client
Done to fix all the http/https proxy issues people are facing with proxy.
2024-07-02 15:32:53 -07:00
Krrish Dholakia
b75414362b fix(utils.py): exception map vertex ai 500 internal server errors 2024-06-10 21:37:54 -07:00
Krrish Dholakia
6f3468aee4 fix(utils.py): fix exception mapping for azure internal server error 2024-06-06 17:12:30 -07:00
Krrish Dholakia
ef2fce71fe test(test_image_generation.py): fix azure dall e test 2024-06-03 23:32:19 -07:00
Ishaan Jaff
2e6807611a (ci/cd) run again 2024-05-20 18:50:17 -07:00
Ishaan Jaff
883a9eb69a add parameter mapping with vertex ai 2024-05-20 13:28:20 -07:00
Ishaan Jaff
4e711c32ef test - fix test_aimage_generation_vertex_ai 2024-05-20 12:10:28 -07:00
Ishaan Jaff
08796b06b0 test vertex image gen test 2024-05-20 11:14:16 -07:00
Ishaan Jaff
d733010580 fix vertex test 2024-05-20 10:51:25 -07:00
Ishaan Jaff
76a1444621 add ImageObject 2024-05-20 10:45:37 -07:00
Ishaan Jaff
884e2beed6 feat - working httpx requests vertex ai image gen 2024-05-20 09:51:15 -07:00
Ishaan Jaff
064a72f71f test - test_aimage_generation_vertex_ai 2024-05-20 08:14:43 -07:00
Krrish Dholakia
dcc33885ff test(test_image_generation.py): fix test 2024-04-30 12:14:29 -07:00
Krrish Dholakia
61a9d2ee89 test(test_image_generation.py): change img model for test - bedrock EOL 2024-04-30 08:55:40 -07:00
Ishaan Jaff
740d2d9a3a (fix) OpenAI img gen endpoints unstable 2024-03-28 12:42:04 -07:00
Krrish Dholakia
dad65ca602 fix(bedrock.py): support anthropic messages api on bedrock (claude-3) 2024-03-04 17:15:47 -08:00
Krrish Dholakia
129e84f0c5 test: removing aws tests - account suspended - pending their approval 2024-02-28 13:46:20 -08:00
Krrish Dholakia
5994c1e7ef feat(bedrock.py): add stable diffusion image generation support 2024-02-03 12:08:38 -08:00
Krrish Dholakia
08714919ec test(test_image_generation.py): ignore content violation errors for image gen test 2024-02-02 18:05:39 -08:00
ishaan-jaff
5926516d0a (test) catch litellm.ContentPolicyViolationError 2024-01-09 17:04:04 +05:30
Krrish Dholakia
49e9604de1 test: testing fixes 2024-01-09 10:23:34 +05:30
ishaan-jaff
020e842c22 (ci/cd) use 3 retries for image generation 2024-01-09 10:07:09 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
a14d51e074 feat(main.py): add async image generation support 2023-12-20 16:58:15 +05:30
Krrish Dholakia
23d0278739 feat(azure.py): add support for azure image generations endpoint 2023-12-20 16:37:21 +05:30
Krrish Dholakia
51cb16a015 feat(main.py): add support for image generation endpoint 2023-12-16 21:07:29 -08:00