Commit graph

46 commits

Author SHA1 Message Date
Krrish Dholakia
39c2597c33 refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
d0bd932b3c refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Krrish Dholakia
d3323ba637 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
Krrish Dholakia
c2cbdb23fd refactor(openai.py): moving openai text completion calls to http 2023-11-08 18:40:03 -08:00
Krrish Dholakia
c57ed0a9d7 refactor(openai.py): moving openai chat completion calls to http 2023-11-08 17:40:41 -08:00
Krrish Dholakia
53abc31c27 refactor(azure.py): moving azure openai calls to http calls 2023-11-08 16:52:18 -08:00
Krrish Dholakia
1c4dd0671b fix(bedrock.py): add exception mapping coverage for authentication scenarios 2023-11-03 18:25:34 -07:00
Krrish Dholakia
142750adff fix(bedrock.py): fix bedrock exception mapping 2023-11-03 18:14:12 -07:00
Krrish Dholakia
7762ae7762 feat(utils.py): accept context window fallback dictionary 2023-10-31 22:32:36 -07:00
Krrish Dholakia
0ffb1dcc38 test(test_completion_with_retries.py): cleanup tests 2023-10-31 21:49:33 -07:00
Krrish Dholakia
dfd91c5d46 fix(openai-py): fix linting errors 2023-10-10 21:56:14 -07:00
Krrish Dholakia
29b2fa7f75 fix(test-fixes): test fixes 2023-10-10 08:09:42 -07:00
Krrish Dholakia
eb1c7220ff add support message on exception 2023-09-26 17:48:24 -07:00
Krrish Dholakia
f98da9f13c adding support for nlp cloud 2023-09-14 09:19:34 -07:00
Krrish Dholakia
f946f61b4c improvements to exception mapping 2023-09-11 18:33:57 -07:00
Krrish Dholakia
a39756bfda add api manager 2023-09-09 15:55:38 -07:00
Krrish Dholakia
c556a51139 fix test exceptions 2023-09-08 20:27:44 -07:00
Krrish Dholakia
d02ab9bfcd update exception logic 2023-09-08 18:55:11 -07:00
Krrish Dholakia
323e095688 fix exception mapping error 2023-09-08 18:20:07 -07:00
Krrish Dholakia
73bb1b96e9 update exception mapping and get model cost map 2023-09-04 11:53:20 -07:00
yujong-lee
2cc9074d09 Cleanup test, at least pass with openai 2023-08-31 20:33:34 +09:00
Krrish Dholakia
509120bf61 add context window exceeded error for anthropic 2023-08-29 16:28:07 -07:00
Krrish Dholakia
53293eb700 fix excepting mapping test case 2023-08-29 16:18:46 -07:00
Krrish Dholakia
f7955d52b5 add context window exceeded error mapping to openai 2023-08-29 16:08:00 -07:00
Krrish Dholakia
5bcf612724 adding coverage for openrouter in exception mapping 2023-08-29 15:30:24 -07:00
Krrish Dholakia
436e8eadb2 adding coverage for ai21 2023-08-29 13:32:20 -07:00
Krrish Dholakia
f11599e50c add coverage for rate limit errors to togetherai 2023-08-29 12:54:56 -07:00
Krrish Dholakia
88bd1df3e0 adding exception handling for together ai 2023-08-29 12:29:59 -07:00
ishaan-jaff
15b1da9dc8 add linting 2023-08-18 11:05:05 -07:00
Krrish Dholakia
16589d1892 return llm_provider as part of the exception 2023-08-17 11:41:47 -07:00
Krrish Dholakia
a4cf7e1edd added exception mapping to anthropic class 2023-08-12 17:39:11 -07:00
Krrish Dholakia
05aa99fde3 fixing exception handling test 2023-08-12 16:49:55 -07:00
Krrish Dholakia
72c1b5dcfc replacing individual provider flags with 'custom_llm_provider' 2023-08-12 16:40:36 -07:00
Krrish Dholakia
1a4044091a expose error types 2023-08-07 11:32:01 -07:00
Krrish Dholakia
92a13958ce fixing exception mapping 2023-08-05 09:53:48 -07:00
Krrish Dholakia
50c2c48cc9 add community resources 2023-08-03 16:31:01 -07:00
ishaan-jaff
13e800493c remove useless tests 2023-08-02 21:08:01 -07:00
Ishaan Jaff
728c5956b3
Update test_exceptions.py 2023-08-02 20:54:01 -07:00
Krrish Dholakia
71d9917655 modifying test_exceptions 2023-08-02 15:38:09 -07:00
ishaan-jaff
6aad269d10 refactor test exceptions 2023-08-01 15:04:02 -07:00
Krish Dholakia
47044f7a46
Merge branch 'main' into set-timeouts 2023-08-01 14:44:58 -07:00
Krrish Dholakia
04bbacd24f custom timeout decorator 2023-08-01 14:34:04 -07:00
Ishaan Jaff
4c67fe6d6e temp comment out test_exceptions.py 2023-08-01 14:33:05 -07:00
Ishaan Jaff
aa49a046bf
temp comment out test_exceptions.py 2023-08-01 13:28:22 -07:00
Krrish Dholakia
7b2901be9e custom timeout decorator 2023-08-01 12:20:25 -07:00
Krrish Dholakia
b6dcddefdf exception mapping 2023-08-01 11:01:47 -07:00