Commit graph

94 commits

Author SHA1 Message Date
Krrish Dholakia
089539e21e fix(utils.py): add exception mapping for databricks errors 2024-07-27 13:13:31 -07:00
Ishaan Jaff
de9aa8a31f test - openai content policy errors 2024-07-22 16:24:03 -07:00
Krrish Dholakia
492b406741 test: skip duplicate test 2024-07-19 18:51:50 -07:00
Ishaan Jaff
1c848b68d7 test - raise correct Auth exception for anthropic API 2024-07-16 20:44:40 -07:00
Ishaan Jaff
31c61951f2 test - test_completion_bedrock_invalid_role_exception 2024-07-13 09:54:32 -07:00
Ishaan Jaff
7f1e7929f2 test - test_azure_embedding_exceptions 2024-07-01 21:19:47 -07:00
Krrish Dholakia
03c7692c81 fix(utils.py): Fix anthropic tool calling exception mapping
Fixes https://github.com/BerriAI/litellm/issues/4348
2024-06-21 21:20:49 -07:00
Krrish Dholakia
40c9ecd470 fix(utils.py): improve coverage for anthropic exception mapping 2024-06-21 21:15:10 -07:00
Krrish Dholakia
71e882f4a2 fix(vertex_httpx.py): re-raise vertex content policy violation error
Fixes https://github.com/BerriAI/litellm/issues/4270
2024-06-18 19:00:35 -07:00
Ishaan Jaff
baafe32ba7 fix - show model group in exceptions 2024-06-10 20:30:31 -07:00
Krrish Dholakia
39ee6be477 fix(utils.py): improved predibase exception mapping
adds unit testing + better coverage for predibase errors
2024-06-08 14:32:43 -07:00
Ishaan Jaff
a12c1fddd9 test - exceptions predibase 2024-05-15 16:53:41 -07:00
Ishaan Jaff
db3092f46b fix - vertex exception test 2024-05-15 15:37:59 -07:00
Ishaan Jaff
0bf5d87f8e (ci/cd) fix test_content_policy_exception_azure 2024-05-15 14:47:39 -07:00
Ishaan Jaff
5f62f5da1f fix - vertex ai exceptions 2024-05-04 21:32:10 -07:00
Ishaan Jaff
8f238d957d fix - test exceptions vertex ai 2024-05-04 16:09:20 -07:00
Ishaan Jaff
2df9bafcb7 test azure exceptions are more decriptive 2024-05-04 13:02:29 -07:00
Ishaan Jaff
3c769d08e8 test - mapping content policy violation errors 2024-05-04 11:15:34 -07:00
Ishaan Jaff
50770ef3b0 test vertex ai exception mapping 2024-04-16 20:00:32 -07:00
Krrish Dholakia
e2f4d07a8d test(test_exceptions.py): handle api instability 2024-03-26 18:06:49 -07:00
ishaan-jaff
dd8e3351ad (test) test_exceptions.py 2024-03-04 09:06:42 -08:00
Krrish Dholakia
129e84f0c5 test: removing aws tests - account suspended - pending their approval 2024-02-28 13:46:20 -08:00
Krrish Dholakia
7a0bf3e25a test(test_exceptions.py): fix test to handle service unavailable error 2024-02-15 18:19:52 -08:00
ishaan-jaff
fddf9725fd (test) improve exceptions for pplx AI 2024-02-02 12:37:21 -08:00
ishaan-jaff
c1725bc175 (fix) test exception mapping 2024-02-02 12:32:10 -08:00
ishaan-jaff
38516c104c (test) exceptions 2024-02-02 10:38:28 -08:00
ishaan-jaff
6166566054 (test) perplexity exception raising 2024-02-02 08:46:42 -08:00
Krrish Dholakia
c6393a546e test(test_exceptions.py): fix test name 2024-01-23 06:57:18 -08:00
Krrish Dholakia
e04a4a7439 fix(utils.py): fix content policy violation check for streaming 2024-01-23 06:55:04 -08:00
ishaan-jaff
3297b8ac0c (test) test exceptions 2024-01-15 22:01:33 -08:00
ishaan-jaff
83861730b5 (feat) improve bedrock, sagemaker exception mapping 2024-01-15 21:22:22 -08:00
ishaan-jaff
5ebcc6386c (test) ContentPolicyViolationError 2024-01-09 16:53:57 +05:30
ishaan-jaff
1a65705596 (test) content policy violation error 2024-01-09 16:34:20 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
ishaan-jaff
1af258ac2f (test) raise NotFoundError 2023-12-15 10:18:53 +05:30
ishaan-jaff
e6a6b070a1 (feat) add BadRequestError for Azure 2023-12-15 09:53:38 +05:30
ishaan-jaff
95454e5176 (feat) mistral - add exception mapping 2023-12-14 18:57:39 +05:30
ishaan-jaff
514e571a37 (ci/cd) reset azure api key 2023-12-11 22:23:11 -08:00
Krrish Dholakia
9a7d1cf75a test(test_exceptions.py): cleanup testing 2023-11-28 21:11:49 -08:00
ishaan-jaff
12060dbbbb (ci/cd) test exceptions 2023-11-28 21:11:12 -08:00
Krrish Dholakia
60d6b6bc37 fix(router.py): fix exponential backoff to use retry-after if present in headers 2023-11-28 17:25:03 -08:00
ishaan-jaff
63428cfdb8 (fix) linting 2023-11-25 15:46:07 -08:00
ishaan-jaff
b8742703a3 (test) openai exception mapping for openai.AuthenticationError 2023-11-25 15:43:46 -08:00
ishaan-jaff
9efc714471 (fix) acompletion: Raise same error as completion 2023-11-25 15:33:46 -08:00
Krrish Dholakia
78d13ea6eb fix(vertex_ai.py): fix exception mapping for vertex ai 2023-11-23 17:35:33 -08:00
ishaan-jaff
4b7402a1de (test) ensure exception raised when incorrect key passed 2023-11-23 16:08:59 -08:00
Krrish Dholakia
4b74ddcb17 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
7b4e21e574 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
Krrish Dholakia
c0a757a25f refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
1ec07c0aba refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00