Commit graph

3682 commits

Author SHA1 Message Date
ishaan-jaff
a2da9c30fb (feat) add /spend/keys endpoint 2024-01-23 15:10:10 -08:00
Ishaan Jaff
5702be1601
Merge pull request #1572 from BerriAI/litellm_use_same_response_id_across_chunks
[Fix] Streaming - Use same `response_id` across chunks
2024-01-23 14:40:50 -08:00
Krrish Dholakia
afada01ffc fix(utils.py): fix streaming cost tracking 2024-01-23 14:39:45 -08:00
ishaan-jaff
b40176810e (test) dynamic timeouts - router 2024-01-23 13:27:49 -08:00
ishaan-jaff
64a387d09b (test) test chunk_ids match across chunks for bedrock 2024-01-23 13:06:05 -08:00
ishaan-jaff
d455833dfb (test) same response id across chunks 2024-01-23 12:57:04 -08:00
ishaan-jaff
39b4f19bd8 (fix) same response_id across chunk 2024-01-23 12:56:03 -08:00
Krrish Dholakia
b1a105e309 feat(proxy/utils.py): enable background process to reset key budgets 2024-01-23 12:33:13 -08:00
ishaan-jaff
e8cd27f2b7 (fix) sagemaker streaming support 2024-01-23 12:31:16 -08:00
ishaan-jaff
44e213e842 (fix) select_data_generator 2024-01-23 12:13:34 -08:00
ishaan-jaff
a61dbc1613 (fix) select_data_generator - sagemaker 2024-01-23 12:08:58 -08:00
ishaan-jaff
bd37a9cb5e (fix) proxy - streaming sagemaker 2024-01-23 11:12:16 -08:00
Krrish Dholakia
05754ef238 test(test_router.py): add more testing for dynamically passing params to router 2024-01-23 10:31:49 -08:00
ishaan-jaff
6c1f8378c1 (test) fix sagemaker stream test 2024-01-23 10:07:13 -08:00
ishaan-jaff
3f37cf0bec (test) router.py revert to stable version 2024-01-23 09:05:19 -08:00
ishaan-jaff
fa2c94aacb (docs) remove custom_auth in example config.yaml 2024-01-23 08:40:21 -08:00
ishaan-jaff
d5b1cc7150 (ci/cd) run prisma.connect() before test 2024-01-23 08:36:49 -08:00
ishaan-jaff
5ad0971c5a (test) fix incorrect test lol 2024-01-23 08:21:14 -08:00
Ishaan Jaff
5e72d1901b Merge pull request #1534 from BerriAI/litellm_custom_cooldown_times
[Feat] Litellm.Router set custom cooldown times
2024-01-23 08:05:59 -08:00
ishaan-jaff
24358a2a3e (fix) router - update model_group on fallback 2024-01-23 08:04:29 -08:00
ishaan-jaff
22e26fcc4b (fix) revert router.py to stable version 2024-01-23 08:03:29 -08:00
ishaan-jaff
b4cc227d1c Revert "(feat) add typehints for litellm.acompletion"
This reverts commit a9cf6cec80.
2024-01-23 07:57:09 -08:00
ishaan-jaff
0124de558d Revert "v0"
This reverts commit b730482aaf.
2024-01-23 07:54:02 -08:00
Krrish Dholakia
fd4d65adcd fix(__init__.py): enable logging.debug to true if set verbose is true 2024-01-23 07:32:30 -08:00
Krrish Dholakia
1e3f14837b fix(router.py): fix dereferencing param order 2024-01-23 07:19:37 -08:00
Krrish Dholakia
ca5fb3f7f1 test(test_router.py): fix test check 2024-01-23 07:07:30 -08:00
Krrish Dholakia
502f8b478c test(test_exceptions.py): fix test name 2024-01-23 06:57:18 -08:00
Krrish Dholakia
23b59ac9b8 fix(utils.py): fix content policy violation check for streaming 2024-01-23 06:55:04 -08:00
Krrish Dholakia
53b879bc6c fix(router.py): ensure no unsupported args are passed to completion() 2024-01-22 22:33:06 -08:00
Krrish Dholakia
f19f0dad89 fix(router.py): fix client init 2024-01-22 22:15:39 -08:00
ishaan-jaff
bc3332fc7c (docs) use proxy + Sagemaker stream test 2024-01-22 22:11:06 -08:00
Ishaan Jaff
6d105754d7
Merge pull request #1561 from BerriAI/litellm_sagemaker_streaming
[Feat] Add REAL Sagemaker streaming
2024-01-22 22:10:20 -08:00
ishaan-jaff
bccbb0852d (test) test_completion_sagemaker_stream 2024-01-22 21:57:26 -08:00
ishaan-jaff
c8084bb9d9 v0 sagemaker_stream 2024-01-22 21:53:16 -08:00
ishaan-jaff
f29de0024a (v0) sagemaker streaming 2024-01-22 21:50:40 -08:00
ishaan-jaff
802fd6cebf v0 add TokenIterator, stream support 2024-01-22 21:49:44 -08:00
Krrish Dholakia
fe489ec22b test(test_key_generate_dynamodb.py): fix test 2024-01-22 21:45:30 -08:00
Krrish Dholakia
4babd67c79 test(test_key_generate_dynamodb.py): fix test 2024-01-22 21:44:13 -08:00
Krrish Dholakia
5e0d99b2ef fix(router.py): fix order of dereferenced dictionaries 2024-01-22 21:42:25 -08:00
Krrish Dholakia
7079b951de test(test_key_generate_prisma.py): fix test 2024-01-22 21:12:03 -08:00
Krish Dholakia
bedb08bdef
Merge pull request #1557 from BerriAI/litellm_emit_spend_logs
feat(utils.py): emit response cost as part of logs
2024-01-22 21:02:40 -08:00
Krrish Dholakia
42a2a2fe94 test(test_custom_callback_input.py): fix assert 2024-01-22 20:39:14 -08:00
Krrish Dholakia
11e3ee4411 test: fix tests 2024-01-22 20:20:17 -08:00
Krrish Dholakia
3e8c8ef507 fix(openai.py): fix linting issue 2024-01-22 18:20:15 -08:00
Krish Dholakia
b1cced16fc
Merge pull request #1556 from BerriAI/litellm_importlib_issue
fix(utils.py): move from pkg_resources to importlib
2024-01-22 15:56:07 -08:00
ishaan-jaff
c9e5e07a96 (chore) fix merge conflicts 2024-01-22 15:53:12 -08:00
Krrish Dholakia
e917d0eee6 feat(utils.py): emit response cost as part of logs 2024-01-22 15:53:04 -08:00
Ishaan Jaff
db68774d60
Merge branch 'main' into litellm_budget_per_key 2024-01-22 15:49:57 -08:00
Krrish Dholakia
06f6f128b6 refactor(__init__.py): adds init.py file in tokenizers 2024-01-22 15:33:16 -08:00
Krrish Dholakia
36c6d3cd90 fix(utils.py): fix debug log 2024-01-22 15:15:34 -08:00