Commit graph

15820 commits

Author SHA1 Message Date
Krrish Dholakia
1dda67a3ae build(config.yml): pin prisma version 2024-08-05 19:59:00 -07:00
Krrish Dholakia
5c6dcd6029 test: improve debugging for test 2024-08-05 19:41:08 -07:00
Ishaan Jaff
4538eb848f run ci/cd again 2024-08-05 16:52:45 -07:00
Krish Dholakia
ac1f61a131
Merge pull request #5051 from BerriAI/litellm_caching_flag
feat(caching.py): enable caching on provider-specific optional params
2024-08-05 16:48:53 -07:00
Ishaan Jaff
2e8a2548e1 build ui on custom path 2024-08-05 16:47:46 -07:00
Ishaan Jaff
beefd221d3 use correct build paths 2024-08-05 16:47:46 -07:00
Ishaan Jaff
3b8fc93091 set PROXY_BASE_URL when server root path set 2024-08-05 16:47:46 -07:00
Ishaan Jaff
b7826ed7c3 working sh script 2024-08-05 16:47:46 -07:00
Ishaan Jaff
36ed40d555 Revert "[FIX] allow setting UI BASE path" 2024-08-05 16:47:46 -07:00
Ishaan Jaff
775ef8a786 fix get_request_route 2024-08-05 16:47:46 -07:00
Ishaan Jaff
68f245c964 add get_request_route 2024-08-05 16:47:45 -07:00
Ishaan Jaff
a6e67d643b
Merge pull request #5056 from BerriAI/litellm_custom_path_ui
[Proxy Fix] Allow running UI on custom path
2024-08-05 16:40:08 -07:00
Ishaan Jaff
091449e81b build ui on custom path 2024-08-05 16:34:37 -07:00
Ishaan Jaff
dab556660d use correct build paths 2024-08-05 15:59:50 -07:00
Ishaan Jaff
900e89c0ad set PROXY_BASE_URL when server root path set 2024-08-05 15:48:44 -07:00
Ishaan Jaff
0e34d63153 working sh script 2024-08-05 15:38:13 -07:00
Ishaan Jaff
bbd43abf82
Merge pull request #5054 from BerriAI/revert-4142-litellm_ui_on_server_root_url
Revert "[FIX] allow setting UI BASE path"
2024-08-05 15:22:23 -07:00
Ishaan Jaff
93d0332c88
Revert "[FIX] allow setting UI BASE path" 2024-08-05 15:22:03 -07:00
Ishaan Jaff
13c4f13c6a fix edit docker file ui base path 2024-08-05 15:17:15 -07:00
Ishaan Jaff
b02f8aa53f fix allow setting UI _BASE path 2024-08-05 15:17:15 -07:00
Ishaan Jaff
28a37c0069 fix test fine tuning api azure 2024-08-05 15:17:15 -07:00
Ishaan Jaff
2eea29ecb3 fix get_request_route 2024-08-05 15:17:15 -07:00
Ishaan Jaff
533ffd6020 test proxy server routes 2024-08-05 15:17:15 -07:00
Ishaan Jaff
35dde9d2a8 use get_request_route 2024-08-05 15:17:15 -07:00
Ishaan Jaff
5c3afc3aba add get_request_route 2024-08-05 15:17:15 -07:00
Krrish Dholakia
aef25d5d00 fix: cleanup test 2024-08-05 11:23:49 -07:00
Krrish Dholakia
a9fdfb5a99 fix(init.py): rename feature_flag 2024-08-05 11:23:20 -07:00
Krrish Dholakia
3c4c78a71f feat(caching.py): enable caching on provider-specific optional params
Closes https://github.com/BerriAI/litellm/issues/5049
2024-08-05 11:18:59 -07:00
Ishaan Jaff
e978c6b056
Merge pull request #4142 from BerriAI/litellm_ui_on_server_root_url
[FIX] allow setting UI BASE path
2024-08-05 11:17:55 -07:00
Ishaan Jaff
35792ccc1f fix test fine tuning api azure 2024-08-05 11:08:13 -07:00
Ishaan Jaff
bf28b893d8
Merge pull request #5050 from BerriAI/litellm_use_base_path
[Proxy-Fix] Requests that are incorrectly flagged as admin-only paths
2024-08-05 11:04:39 -07:00
Ishaan Jaff
6d2063d1cb fix get_request_route 2024-08-05 10:33:40 -07:00
Ishaan Jaff
948e513fec test proxy server routes 2024-08-05 10:14:23 -07:00
Ishaan Jaff
aa7174c270 use get_request_route 2024-08-05 10:13:47 -07:00
Ishaan Jaff
13f01ed57f add get_request_route 2024-08-05 10:12:34 -07:00
Krrish Dholakia
cd94c3adc1 fix(types/router.py): remove model_info pydantic field
Fixes https://github.com/BerriAI/litellm/issues/5042
2024-08-05 09:58:44 -07:00
Krrish Dholakia
8fa39b058d docs(azure.md): cleanup docs 2024-08-05 09:38:45 -07:00
Krrish Dholakia
0230889ec4 docs: cleanup docs
Fixes https://github.com/BerriAI/litellm/issues/5043
2024-08-05 09:38:21 -07:00
Krrish Dholakia
3fee0b1dc5 fix(ollama_chat.py): fix passing auth headers to ollama
Fixes https://github.com/BerriAI/litellm/issues/5046
2024-08-05 09:33:09 -07:00
Krrish Dholakia
e0c986c000 build(model_prices_and_context_window.json): update gpt-4o-mini max_output_tokens
Fixes https://github.com/BerriAI/litellm/issues/5045
2024-08-05 09:30:18 -07:00
Ishaan Jaff
e3119cef38 add sample spec to model cost map 2024-08-05 09:27:26 -07:00
Ishaan Jaff
0214ff5fe0
Merge pull request #5047 from BerriAI/litellm_log_request_response_gcs
[Feat-Proxy] Log request/response on GCS
2024-08-05 09:05:56 -07:00
Ishaan Jaff
9314341b9e docs show fields logged on gcs bucket 2024-08-05 08:58:54 -07:00
Krrish Dholakia
f610fba58f fix(user_api_key_auth.py): handle older user_role's
Fixes issue where older user_role's (e.g. app_user) weren't being recognized. + Adds testing for it
2024-08-05 08:57:06 -07:00
Ishaan Jaff
a6e4fdf502 test gcs bucket 2024-08-05 08:56:10 -07:00
Ishaan Jaff
a4eb32f4f3 fix linting errors 2024-08-05 08:54:04 -07:00
Ishaan Jaff
8eb73381d6 simplify GCS payload 2024-08-05 08:48:23 -07:00
Ishaan Jaff
377272a152 add ALL_LITELLM_RESPONSE_TYPES 2024-08-05 08:41:13 -07:00
Ishaan Jaff
566d51767f use util convert_litellm_response_object_to_dict 2024-08-05 08:40:19 -07:00
Krrish Dholakia
51211dc2a6 docs(gemini.md): add json mode, response schema, supported openai params to gemini docs 2024-08-05 08:11:07 -07:00