Commit graph

92 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
ishaan-jaff
6c1c2e8c7d (feat) add moderation on router 2024-02-14 11:00:09 -08:00
ishaan-jaff
b7c458f25d (ci/cd) add more logging to timeout test 2024-01-23 18:39:19 -08:00
ishaan-jaff
7276849499 (test) dynamic timeouts - router 2024-01-23 13:27:49 -08:00
Krrish Dholakia
ea9bb27e52 test(test_router.py): add more testing for dynamically passing params to router 2024-01-23 10:31:49 -08:00
ishaan-jaff
9aa40c63ee (test) router.py revert to stable version 2024-01-23 09:05:19 -08:00
Krrish Dholakia
0b794cbd8f test(test_router.py): fix test check 2024-01-23 07:07:30 -08:00
Krrish Dholakia
2912c3dcbb fix(router.py): ensure no unsupported args are passed to completion() 2024-01-22 22:33:06 -08:00
Krrish Dholakia
9aaec44dff fix(router.py): fix client init 2024-01-22 22:15:39 -08:00
Krrish Dholakia
253842bc7a test(test_router.py): handle rate limiting error 2024-01-11 00:00:17 +05:30
Krrish Dholakia
4e719850bc test(test_router.py): handle image gen timeouts 2024-01-10 20:56:52 +05:30
Krrish Dholakia
11ff324ff7 test(test_router.py): fix router test 2024-01-09 11:08:35 +05:30
Krrish Dholakia
1ed96b1fc8 test(test_router.py): add retries 2023-12-30 15:54:46 +05:30
Krrish Dholakia
2cea8b0e83 fix(router.py): periodically re-initialize azure/openai clients to solve max conn issue 2023-12-30 15:48:34 +05:30
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
158325497d feat(proxy_server.py): add new images/generation endpoint 2023-12-21 15:39:09 +05:30
Krrish Dholakia
c084f04a35 fix(router.py): add support for async image generation endpoints 2023-12-21 14:38:44 +05:30
Krrish Dholakia
b873833340 fix(router.py): only do sync image gen fallbacks for now
The customhttptransport we use for dall-e-2 only works for sync httpx calls, not async. Will need to spend some time writing the async version

n
2023-12-20 19:10:59 +05:30
Krrish Dholakia
89b808d767 feat(router.py): support async image generation on router 2023-12-20 17:24:20 +05:30
Krrish Dholakia
0a20b92c12 refactor(test_router_caching.py): add tests for router caching 2023-12-15 20:38:51 -08:00
Krrish Dholakia
6081602bf8 fix(router.py): support openai-compatible endpoints 2023-12-15 14:47:54 -08:00
ishaan-jaff
b8d51ee3ab (test) router - acompletion + cache 2023-12-14 19:46:56 +05:30
Krrish Dholakia
fa74447cc8 test: testing fixes 2023-12-12 10:57:51 -08:00
Krrish Dholakia
bbf094dcf5 fix(router.py): reset caching correctly 2023-12-11 19:57:34 -08:00
ishaan-jaff
96c0f1495b (test) router + caching 2023-12-09 15:41:36 -08:00
ishaan-jaff
db750475c3 (test) async completion + caching on router 2023-12-09 14:25:38 -08:00
Krrish Dholakia
f5dbddef39 test(test_router.py): fix init issue 2023-12-09 12:28:51 -08:00
Krrish Dholakia
3f045501c2 test(test_router.py): run as asyncio.run 2023-12-09 12:28:28 -08:00
Krrish Dholakia
a65c8919fc fix(router.py): fix least-busy routing 2023-12-08 20:29:49 -08:00
Krrish Dholakia
461788636f test: test_router.py
fix router testing

n
2023-12-07 20:10:36 -08:00
ishaan-jaff
f5d9eb773e (test) router - read os.environ/ OpenAI 2023-12-06 10:56:27 -08:00
ishaan-jaff
dd474dfb5a (chore) linting fix 2023-12-06 10:48:01 -08:00
ishaan-jaff
52a95a755e (test) router - set sync stream client 2023-12-06 10:08:37 -08:00
ishaan-jaff
179db2a1a7 (test) router - reading os.environ/ with client 2023-12-06 09:26:21 -08:00
ishaan-jaff
7b88420223 (test) router - reading os.environ/ variables 2023-12-06 09:19:51 -08:00
ishaan-jaff
1fd1396f06 (test) router - explcitly call one deployment 2023-12-05 21:57:00 -08:00
ishaan-jaff
e851892dcb (test) router: call 1 deployment 2023-12-05 17:35:35 -08:00
ishaan-jaff
66dc4784d2 (chore) linting fix 2023-12-05 17:29:09 -08:00
ishaan-jaff
7bee766b65 (test) call 1 deployment on router 2023-12-05 16:56:38 -08:00
ishaan-jaff
8b9206ae51 (test) router: test async embedding + embedding 2023-12-05 14:28:23 -08:00
ishaan-jaff
a1ac6aad8d (test) router: openai async, sync, stream, no stream 2023-12-05 14:21:37 -08:00
ishaan-jaff
e9ae3234e4 (test) router: add tests for azure completion, acompletion 2023-12-05 13:59:27 -08:00
ishaan-jaff
842c91ee31 (test) azure - test async + sync embedding 2023-12-05 13:35:05 -08:00
ishaan-jaff
1622a3e4fa (test) router Azure regular chat completion call 2023-12-05 13:28:07 -08:00
ishaan-jaff
0729770390 (test) Router: Test Azure acompletion, stream 2023-12-05 13:22:27 -08:00
ishaan-jaff
0b3ea42af9 (test) router streaming + azure 2023-12-05 12:54:00 -08:00
ishaan-jaff
8759a2f463 (test) test bedrock on router 2023-12-05 09:35:08 -08:00
ishaan-jaff
cf9f3d0005 (fix) router: azure/embedding support 2023-11-29 19:06:36 -08:00
ishaan-jaff
54678d5f9c (test) router:get_available_deployment 2023-11-29 17:54:41 -08:00
ishaan-jaff
871614c154 (test) test weighted selection router 2023-11-29 17:30:18 -08:00