Commit Graph

213 Commits

Author SHA1 Message Date
Krish Dholakia 8d6a0bdc81 - merge - fix TypeError: 'CompletionUsage' object is not subscriptable #5441 (#5448)
* fix TypeError: 'CompletionUsage' object is not subscriptable (#5441)

* test(test_team_logging.py): mark flaky test

---------

Co-authored-by: yafei lee <yafei@dao42.com>
2024-08-30 08:54:42 -07:00
Ishaan Jaff e329c4509a Merge branch 'main' into litellm_add_tag_control_team 2024-08-29 17:34:40 -07:00
Ishaan Jaff 4b7ceade64 mark test_key_info_spend_values_streaming as flaky 2024-08-29 14:39:53 -07:00
Ishaan Jaff da2cefc45a fix team based tag routing 2024-08-29 14:37:44 -07:00
Ishaan Jaff f592aeaa38 add test_chat_completion_with_no_tags 2024-08-29 13:54:11 -07:00
Ishaan Jaff 34f1d32799 add test for tag based routing 2024-08-29 13:45:24 -07:00
Ishaan Jaff bcf7f3e437 handle flaky pytests 2024-08-27 22:44:49 -07:00
Ishaan Jaff c27640e6e4 add /rerank test 2024-08-27 17:50:37 -07:00
Ishaan Jaff 918e4fcfe5 feat add test for custom guardrails 2024-08-23 12:01:43 -07:00
Ishaan Jaff 1f0cc72531 test bedrock guardrails 2024-08-22 17:24:42 -07:00
Krish Dholakia 409306b266 Merge branch 'main' into litellm_fix_azure_api_version 2024-08-20 11:40:53 -07:00
Ishaan Jaff aceab2669f test guardrails with API Key 2024-08-20 08:40:00 -07:00
Ishaan Jaff 04efdd66c0 fix test guardrails 2024-08-19 21:03:37 -07:00
Ishaan Jaff b2d63f752c add testing for guardrails 2024-08-19 21:03:37 -07:00
Ishaan Jaff 6fa421ed8e test_llm_guard_triggered 2024-08-19 21:03:37 -07:00
Ishaan Jaff 9f927e0e4e add testing for aporia guardrails 2024-08-19 21:03:37 -07:00
Ishaan Jaff 57bbcba079 fix test guardrails 2024-08-19 18:58:31 -07:00
Ishaan Jaff 5d262a6ee7 add testing for guardrails 2024-08-19 18:57:02 -07:00
Ishaan Jaff 37e6d8a3aa test_llm_guard_triggered 2024-08-19 18:53:12 -07:00
Ishaan Jaff 0431600f7b add testing for aporia guardrails 2024-08-19 18:50:14 -07:00
Krrish Dholakia d1d28487f7 refactor(test_users.py): refactor test for user info to use mock endpoints 2024-08-12 18:48:43 -07:00
Krrish Dholakia a0a1feb7da fix(management/utils.py): fix add_member to team when adding user_email
Fixes https://github.com/BerriAI/litellm/issues/5112
2024-08-10 17:12:09 -07:00
Krrish Dholakia 575afa8029 fix(internal_user_endpoints.py): return all teams if user is admin 2024-08-10 16:36:43 -07:00
Krrish Dholakia 5703da9b42 fix(user_api_key_auth.py): Fixes https://github.com/BerriAI/litellm/issues/5111 2024-08-08 10:30:15 -07:00
Ishaan Jaff f1ffa82062 fix use provider specific routing 2024-08-07 14:37:20 -07:00
Ishaan Jaff 56f110cd04 test test_basic_passthrough 2024-08-06 21:17:07 -07:00
Ishaan Jaff 404360b28d test pass through endpoint 2024-08-06 12:16:00 -07:00
Krrish Dholakia 28c12e6702 fix(utils.py): fix togetherai streaming cost calculation 2024-08-01 15:03:08 -07:00
Ishaan Jaff a6e62da9fb fix cancel ft job route 2024-07-31 16:19:15 -07:00
Ishaan Jaff 729f876f81 test cancel ft jobs 2024-07-31 16:12:52 -07:00
Ishaan Jaff 9b6231810b add GET fine_tuning/jobs 2024-07-31 15:58:35 -07:00
Ishaan Jaff 287b09cff6 add test for ft endpoints on azure 2024-07-31 15:30:26 -07:00
Ishaan Jaff 563d59a305 test batches endpoint on proxy 2024-07-30 09:46:30 -07:00
Ishaan Jaff 35ecf3c06b fix otel test 2024-07-27 15:30:58 -07:00
Ishaan Jaff 7dac0e0001 fix otel logging 2024-07-27 12:05:24 -07:00
Ishaan Jaff 7c0ea16e3d test otel for batch_write_to_db 2024-07-27 11:47:17 -07:00
Ishaan Jaff 812dd5e162 test get batches by id 2024-07-26 18:40:10 -07:00
Ishaan Jaff 12729ceece test - batches endpoint 2024-07-26 18:09:49 -07:00
Ishaan Jaff 05858cb249 test proxy all model 2024-07-25 18:54:30 -07:00
Ishaan Jaff dec5c7a2ba fix otel trace test 2024-07-16 21:08:19 -07:00
Ishaan Jaff b835165742 fix otel trace 2024-07-16 20:58:34 -07:00
Krrish Dholakia 9cca25f874 test(test_end_users.py): fix test 2024-07-13 21:46:19 -07:00
Ishaan Jaff 15d35cd62f test otel 2024-07-11 09:54:23 -07:00
Ishaan Jaff 02ab3cb73d test- otel span recording 2024-07-11 08:47:16 -07:00
Ishaan Jaff f34e45db93 test - /file endpoints 2024-07-10 16:36:27 -07:00
Ishaan Jaff 8ffa690f33 test groq/whisper-large-v3 2024-07-04 16:45:45 -07:00
Ishaan Jaff ce7fade15e test whisper re-using openai/azure clients 2024-07-02 12:35:15 -07:00
Krrish Dholakia b78dd6416a fix(prisma_migration.py): support decrypting variables in a python script 2024-06-28 16:31:37 -07:00
Krrish Dholakia adcd55fca0 fix(initial-commit): decrypts aws keys in entrypoint.sh 2024-06-26 22:33:26 -07:00
Ishaan Jaff 8fcd61825b test - /moderations 2024-06-21 16:08:52 -07:00