Commit graph

43 commits

Author SHA1 Message Date
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
Krrish Dholakia
b40d9f79b5 add context window exceeded error mapping to openai 2023-08-29 16:08:00 -07:00
Krrish Dholakia
efbde50a03 adding coverage for openrouter in exception mapping 2023-08-29 15:30:24 -07:00
Krrish Dholakia
9646c03fe5 adding coverage for ai21 2023-08-29 13:32:20 -07:00
Krrish Dholakia
342fece93d add coverage for rate limit errors to togetherai 2023-08-29 12:54:56 -07:00
Krrish Dholakia
c790dfe323 adding exception handling for together ai 2023-08-29 12:29:59 -07:00
ishaan-jaff
2c7ffb7c75 add linting 2023-08-18 11:05:05 -07:00
Krrish Dholakia
b91c69ffde return llm_provider as part of the exception 2023-08-17 11:41:47 -07:00
Krrish Dholakia
1c909707ad added exception mapping to anthropic class 2023-08-12 17:39:11 -07:00
Krrish Dholakia
1c74c27086 fixing exception handling test 2023-08-12 16:49:55 -07:00
Krrish Dholakia
209d1e4e1e replacing individual provider flags with 'custom_llm_provider' 2023-08-12 16:40:36 -07:00
Krrish Dholakia
31c7e0a4a9 expose error types 2023-08-07 11:32:01 -07:00
Krrish Dholakia
e7c31d7b25 fixing exception mapping 2023-08-05 09:53:48 -07:00
Krrish Dholakia
55e670dca2 add community resources 2023-08-03 16:31:01 -07:00
ishaan-jaff
05513c516f remove useless tests 2023-08-02 21:08:01 -07:00
Ishaan Jaff
5ac2ee2afc Update test_exceptions.py 2023-08-02 20:54:01 -07:00
Krrish Dholakia
4acf091186 modifying test_exceptions 2023-08-02 15:38:09 -07:00
ishaan-jaff
c99688df19 refactor test exceptions 2023-08-01 15:04:02 -07:00
Krish Dholakia
a646f21f8b Merge branch 'main' into set-timeouts 2023-08-01 14:44:58 -07:00
Krrish Dholakia
262ee65127 custom timeout decorator 2023-08-01 14:34:04 -07:00
Ishaan Jaff
1bd1252b73 temp comment out test_exceptions.py 2023-08-01 14:33:05 -07:00
Ishaan Jaff
3d3a4aee9e temp comment out test_exceptions.py 2023-08-01 13:28:22 -07:00
Krrish Dholakia
c1edca7495 custom timeout decorator 2023-08-01 12:20:25 -07:00
Krrish Dholakia
e7a6808eb2 exception mapping 2023-08-01 11:01:47 -07:00