Commit graph

1456 commits

Author SHA1 Message Date
Krrish Dholakia
da68e1ea81 perf(openai.py): extending request timeout 2023-11-15 18:45:45 -08:00
ishaan-jaff
15439a6aa9 (chore) testing reset callbacks 2023-11-15 18:29:03 -08:00
Krrish Dholakia
fc8b54eb73 fix(openai.py): switch back to using requests instead of httpx 2023-11-15 18:25:21 -08:00
ishaan-jaff
5990d046c4 (chore) ci/cd testing 2023-11-15 18:07:04 -08:00
Krrish Dholakia
2750a26633 fix(openai.py): fix timeout errors 2023-11-15 18:03:14 -08:00
ishaan-jaff
3945bfadb7 (chore) remove bloat caching tests 2023-11-15 17:58:58 -08:00
Krrish Dholakia
a3d280baa3 test: cleanup testing 2023-11-15 17:57:14 -08:00
ishaan-jaff
a48445c11c (chore) speed up testing 2023-11-15 17:56:03 -08:00
ishaan-jaff
985220cc09 (chore) remove bloat 2023-11-15 17:52:57 -08:00
Krrish Dholakia
9fd7c5b343 test: set request timeout at request level 2023-11-15 17:42:31 -08:00
ishaan-jaff
eeec8a1765 (chore) remove bloat testing 2023-11-15 17:40:24 -08:00
ishaan-jaff
a7c31d54fa (fix) testing model alias map 2023-11-15 17:40:15 -08:00
ishaan-jaff
6f0b34c771 (chore) remvoe bloat testing 2023-11-15 17:33:15 -08:00
ishaan-jaff
bba0a2dcf7 (chore) remove bloat 2023-11-15 17:16:14 -08:00
Krrish Dholakia
03efc9185e fix(huggingface_restapi.py): async implementation 2023-11-15 16:54:15 -08:00
Krrish Dholakia
f84db3ce14 feat(get_max_tokens): get max tokens for huggingface hub models 2023-11-15 15:25:40 -08:00
Krrish Dholakia
1a705bfbcb refactor(huggingface_restapi.py): moving async completion + streaming to real async calls 2023-11-15 15:14:21 -08:00
Krrish Dholakia
c8b73d90f1 fix(utils.py): fix langfuse integration 2023-11-15 14:05:40 -08:00
Krrish Dholakia
8c104e9c6a fix(azure.py-+-proxy_server.py): fix function calling response object + support router on proxy 2023-11-15 13:15:16 -08:00
Krrish Dholakia
563a3d3016 refactor(router.py): renaming variable 2023-11-15 12:31:29 -08:00
Krrish Dholakia
03303033e5 feat(router.py): enable passing chat completion params for Router.chat.completion.create 2023-11-15 12:28:16 -08:00
Krrish Dholakia
f5abde775b test(test_completion.py): fix palm test 2023-11-14 22:28:56 -08:00
Krrish Dholakia
e07bf0a8de fix(utils.py): await async function in client wrapper 2023-11-14 22:07:28 -08:00
Krrish Dholakia
59eaeba92a fix(router.py): enabling retrying with expo backoff (without tenacity) for router 2023-11-14 20:57:51 -08:00
Krrish Dholakia
1738341dcb fix(main.py): misrouting ollama models to nlp cloud 2023-11-14 18:55:08 -08:00
Krrish Dholakia
a7222f257c fix(main.py): keep client consistent across calls + exponential backoff retry on ratelimit errors 2023-11-14 16:26:05 -08:00
ishaan-jaff
d80e2310ed (test) AI21 test 2023-11-14 15:01:50 -08:00
ishaan-jaff
59d217f373 (test) completion azure_ad_token 2023-11-14 12:48:31 -08:00
ishaan-jaff
dd50aeddbb (test) azure_ad_token 2023-11-14 12:12:14 -08:00
Krrish Dholakia
e9e86cac79 fix(palm.py): exception mapping bad requests / filtered responses 2023-11-14 11:53:13 -08:00
Krrish Dholakia
dd925d3de3 fix(utils.py): streaming 2023-11-13 18:15:14 -08:00
Krrish Dholakia
fe9c1e2b45 test(test_streaming.py): turning on print verbose for streaming tests 2023-11-13 18:00:48 -08:00
Krrish Dholakia
afc19caf0f test(utils.py): adding logging for azure streaming 2023-11-13 17:53:15 -08:00
Krrish Dholakia
42d0925209 test(test_streaming.py): adding retries to streaming tests 2023-11-13 16:34:59 -08:00
Krrish Dholakia
38ff412b9a fix(utils.py): fix response object mapping 2023-11-13 15:58:25 -08:00
Krrish Dholakia
1d635aff08 fix(router.py): enable calling router with instructor 2023-11-13 15:16:57 -08:00
Krrish Dholakia
8a3b771e50 fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Krrish Dholakia
d4de55b053 fix(together_ai.py): exception mapping for tgai 2023-11-13 13:17:15 -08:00
Krrish Dholakia
aa8ca781ba test(test_completion.py): cleanup tests 2023-11-13 11:23:38 -08:00
Krrish Dholakia
4340749ea3 fix(timeout.py): fix timeout issue 2023-11-13 11:07:17 -08:00
Krrish Dholakia
1665b872c3 fix(caching.py): dump model response object as json 2023-11-13 10:41:04 -08:00
ishaan-jaff
a21ff38694 (test) deepinfra with openai v1.0.0 2023-11-13 09:51:45 -08:00
ishaan-jaff
7a3607e00c (test) token_counter 2023-11-13 08:02:46 -08:00
ishaan-jaff
e5ec4a92fe (test) add test token counter 2023-11-13 07:42:08 -08:00
Krrish Dholakia
62013520aa fix(utils.py): replacing openai.error import statements 2023-11-11 19:25:21 -08:00
Krrish Dholakia
45b6f8b853 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
c6ce3fedcd fix(main.py): fix caching for router 2023-11-11 17:45:23 -08:00
Krrish Dholakia
547598a134 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
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