Commit graph

15087 commits

Author SHA1 Message Date
Ishaan Jaff
4a20c7a61e fix install on python 3.8 2024-07-16 20:04:28 -07:00
Ishaan Jaff
61852a1e2e fix installing on python3.8 2024-07-16 20:04:28 -07:00
Krrish Dholakia
9771edb302 fix(factory.py): use stronger typing for anthropic translation
Fixes https://github.com/BerriAI/litellm/issues/4738
2024-07-16 19:58:27 -07:00
Krrish Dholakia
155ba055ee fix(utils.py): fix get_api_base to use vertexai_anthropic 2024-07-16 19:17:45 -07:00
Ishaan Jaff
6f55da69a5 ui new build 2024-07-16 17:59:14 -07:00
Ishaan Jaff
5637375d24
Merge pull request #4744 from BerriAI/docs_example_inviting_user
Docs - How to invite users to view usage, caching
2024-07-16 17:57:09 -07:00
Ishaan Jaff
5153692a56
Merge pull request #4743 from BerriAI/ui_fix_logout
[UI] Clear cookies on logging out
2024-07-16 17:56:37 -07:00
Ishaan Jaff
0d729e94c0 docs - how to invite users to view usage, caching analytics 2024-07-16 17:56:06 -07:00
Ishaan Jaff
60ba879061 ui - clear cookies on logout 2024-07-16 17:27:02 -07:00
Ishaan Jaff
4b8a5ceee3 ui - allow admin viewer to view caching 2024-07-16 17:16:49 -07:00
Krrish Dholakia
ec03e675c9 fix(proxy/utils.py): fix failure logging for rejected requests. + unit tests 2024-07-16 17:15:20 -07:00
Ishaan Jaff
769843845d fix tracking hanging requests 2024-07-16 17:12:59 -07:00
Ishaan Jaff
3981be6a99 fix install on python 3.8 2024-07-16 17:00:32 -07:00
Ishaan Jaff
95af5c260e fix installing on python3.8 2024-07-16 16:56:15 -07:00
Ishaan Jaff
e6b6c1f631 docs how to use custom header for litellm proxy 2024-07-16 16:54:13 -07:00
Ishaan Jaff
824256c50b test_custom_api_key_header_name 2024-07-16 16:37:43 -07:00
Ishaan Jaff
ceed3f655d fix check if user passed custom header 2024-07-16 16:36:18 -07:00
Krrish Dholakia
06efe28132 docs(reliability.md): add default fallbacks to proxy docs 2024-07-16 16:33:57 -07:00
Ishaan Jaff
c0fd53a493 add example on how to use litellm_key_header_name 2024-07-16 15:25:43 -07:00
Ishaan Jaff
561b5a4be6 feat - use custom api key name 2024-07-16 15:20:35 -07:00
Vinnie Giarrusso
a4b41e28a8 remove more unused imports 2024-07-16 12:25:06 -07:00
Vinnie Giarrusso
b83f47e941 refactor a bit 2024-07-16 12:19:31 -07:00
Krrish Dholakia
2783953625 docs(bedrock.md): update bedrock / proxy doc 2024-07-16 11:55:08 -07:00
davidschuler-8451
35b733f14d feat: enables batch embedding support for triton 2024-07-16 13:31:59 -04:00
Ishaan Jaff
653aff6527 fix storing request status in mem 2024-07-16 08:53:46 -07:00
Krish Dholakia
0fb88e527c
Merge pull request #4716 from pamelafox/countfuncs
Add token counting for OpenAI tools/tool_choice
2024-07-16 07:21:31 -07:00
Vinnie Giarrusso
6ff863ee00 Add enabled_roles to Guardrails configuration, Update Lakera guardrail moderation hook 2024-07-16 01:52:08 -07:00
Ishaan Jaff
a99cb5deeb run ci/cd again 2024-07-15 22:09:17 -07:00
Krrish Dholakia
a4b0740c4a fix(test_custom_callback_input.py): fix unit test for embedding logging 2024-07-15 21:47:05 -07:00
Ishaan Jaff
2cfafdc7c3 fix test tg - they are a very unstable provider 2024-07-15 21:40:06 -07:00
Krish Dholakia
74e263b8de
Merge pull request #4723 from BerriAI/litellm_add_dynamic_api_base
fix(utils.py): allow passing dynamic api base for openai-compatible endpoints (Fireworks AI, etc.)
2024-07-15 21:35:22 -07:00
Krrish Dholakia
d136f2b8a7 fix(litellm_logging.py): fix circular reference 2024-07-15 21:28:33 -07:00
Ishaan Jaff
eaee90b02e docs - passing extra_headers to anthropic api 2024-07-15 21:15:39 -07:00
Krrish Dholakia
155ee7e99c fix(factory.py): allow converting pdf url to base64 2024-07-15 21:11:53 -07:00
Krish Dholakia
bbe98151ef
Merge pull request #4721 from danielbichuetti/fireworks-model-updates
[Feature]: Add Fireworks AI data to model_prices_and_context_window.json
2024-07-15 21:08:50 -07:00
Ishaan Jaff
0c015003d1 bump: version 1.41.22 → 1.41.23 2024-07-15 21:00:19 -07:00
Ishaan Jaff
4aa98dcbe9 test_amazing_sync_embedding 2024-07-15 20:53:13 -07:00
Ishaan Jaff
4baa48ba4b fix test_sync_embedding 2024-07-15 20:51:29 -07:00
Ishaan Jaff
254ac37f65
Merge pull request #4724 from BerriAI/litellm_Set_max_file_size_transc
[Feat] - set max file size on /audio/transcriptions
2024-07-15 20:42:24 -07:00
Ishaan Jaff
af19a2aff3 ui new build 2024-07-15 20:09:17 -07:00
Ishaan Jaff
979b5d8eea
Merge pull request #4719 from BerriAI/litellm_fix_audio_transcript
[Fix] /audio/transcription - don't write to the local file system
2024-07-15 20:05:42 -07:00
Ishaan Jaff
4dfc00ae0d
Merge pull request #4715 from BerriAI/litellm_stack_cache_ui_analytics
Admin UI - Stack Cache hits vs misses on UI
2024-07-15 20:05:32 -07:00
Ishaan Jaff
e1c1149a64 docs set max file size on requests 2024-07-15 20:05:14 -07:00
Ishaan Jaff
bac6685bfc fix linting 2024-07-15 20:02:41 -07:00
Krrish Dholakia
a15ba2592a fix(utils.py): allow passing dynamic api base for openai-compatible endpoints 2024-07-15 20:00:44 -07:00
Ishaan Jaff
0bd747ef7e max_file_size_mb in float 2024-07-15 19:58:41 -07:00
Ishaan Jaff
38cef1c58d fix error from max file size 2024-07-15 19:57:33 -07:00
Ishaan Jaff
685253568b doc set max file size 2024-07-15 19:57:17 -07:00
Krrish Dholakia
9e07af6c02 docs(vertex.md): Retrieve grounding metadata from call 2024-07-15 19:47:48 -07:00
Krrish Dholakia
023f10cf1c fix(vertex_httpx.py): return grounding metadata 2024-07-15 19:43:37 -07:00