Commit graph

73 commits

Author SHA1 Message Date
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
Krrish Dholakia
a5ec85b1f2 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
Krrish Dholakia
e66373bd47 refactor(openai.py): moving openai text completion calls to http 2023-11-08 18:40:03 -08:00
Krrish Dholakia
decf86b145 refactor(openai.py): moving openai chat completion calls to http 2023-11-08 17:40:41 -08:00
Krrish Dholakia
17f5e46080 refactor(azure.py): moving azure openai calls to http calls 2023-11-08 16:52:18 -08:00
Krrish Dholakia
64b6b0155d fix(bedrock.py): add exception mapping coverage for authentication scenarios 2023-11-03 18:25:34 -07:00
Krrish Dholakia
8bf8464fc2 fix(bedrock.py): fix bedrock exception mapping 2023-11-03 18:14:12 -07:00
Krrish Dholakia
2cf06a3235 feat(utils.py): accept context window fallback dictionary 2023-10-31 22:32:36 -07:00
Krrish Dholakia
8a401076de test(test_completion_with_retries.py): cleanup tests 2023-10-31 21:49:33 -07:00
Krrish Dholakia
5b4311eaa7 fix(openai-py): fix linting errors 2023-10-10 21:56:14 -07:00
Krrish Dholakia
1c9f87751d fix(test-fixes): test fixes 2023-10-10 08:09:42 -07:00
Krrish Dholakia
455f3370c8 add support message on exception 2023-09-26 17:48:24 -07:00
Krrish Dholakia
bd01f70257 adding support for nlp cloud 2023-09-14 09:19:34 -07:00
Krrish Dholakia
355c2ed00c improvements to exception mapping 2023-09-11 18:33:57 -07:00
Krrish Dholakia
4319b1011c add api manager 2023-09-09 15:55:38 -07:00
Krrish Dholakia
e05dc989c4 fix test exceptions 2023-09-08 20:27:44 -07:00
Krrish Dholakia
c054f22f10 update exception logic 2023-09-08 18:55:11 -07:00
Krrish Dholakia
a89a491c10 fix exception mapping error 2023-09-08 18:20:07 -07:00
Krrish Dholakia
57dcd1fee9 update exception mapping and get model cost map 2023-09-04 11:53:20 -07:00
yujong-lee
e969358656 Cleanup test, at least pass with openai 2023-08-31 20:33:34 +09:00
Krrish Dholakia
c00cb299fc add context window exceeded error for anthropic 2023-08-29 16:28:07 -07:00
Krrish Dholakia
12a7f5641d fix excepting mapping test case 2023-08-29 16:18:46 -07:00