Commit graph

80 commits

Author SHA1 Message Date
Krrish Dholakia
3935f99083 test(test_router.py): add retries 2023-12-30 15:54:46 +05:30
Krrish Dholakia
69935db239 fix(router.py): periodically re-initialize azure/openai clients to solve max conn issue 2023-12-30 15:48:34 +05:30
Krrish Dholakia
4905929de3 refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
14115d0d60 feat(proxy_server.py): add new images/generation endpoint 2023-12-21 15:39:09 +05:30
Krrish Dholakia
be68796eba fix(router.py): add support for async image generation endpoints 2023-12-21 14:38:44 +05:30
Krrish Dholakia
04bbd0649f 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
4040f60feb feat(router.py): support async image generation on router 2023-12-20 17:24:20 +05:30
Krrish Dholakia
5fe5149070 refactor(test_router_caching.py): add tests for router caching 2023-12-15 20:38:51 -08:00
Krrish Dholakia
e5268fa6bc fix(router.py): support openai-compatible endpoints 2023-12-15 14:47:54 -08:00
ishaan-jaff
26c6c1a03e (test) router - acompletion + cache 2023-12-14 19:46:56 +05:30
Krrish Dholakia
edbf97adf2 test: testing fixes 2023-12-12 10:57:51 -08:00
Krrish Dholakia
3e908bf507 fix(router.py): reset caching correctly 2023-12-11 19:57:34 -08:00
ishaan-jaff
da08be1f43 (test) router + caching 2023-12-09 15:41:36 -08:00
ishaan-jaff
a9f103995d (test) async completion + caching on router 2023-12-09 14:25:38 -08:00
Krrish Dholakia
b4aa9f0ae4 test(test_router.py): fix init issue 2023-12-09 12:28:51 -08:00
Krrish Dholakia
a250489405 test(test_router.py): run as asyncio.run 2023-12-09 12:28:28 -08:00
Krrish Dholakia
4bf875d3ed fix(router.py): fix least-busy routing 2023-12-08 20:29:49 -08:00
Krrish Dholakia
dfba305508 test: test_router.py
fix router testing

n
2023-12-07 20:10:36 -08:00
ishaan-jaff
cc48b35a8d (test) router - read os.environ/ OpenAI 2023-12-06 10:56:27 -08:00
ishaan-jaff
8f47293ce8 (chore) linting fix 2023-12-06 10:48:01 -08:00
ishaan-jaff
11a8713a50 (test) router - set sync stream client 2023-12-06 10:08:37 -08:00
ishaan-jaff
bd0579703c (test) router - reading os.environ/ with client 2023-12-06 09:26:21 -08:00
ishaan-jaff
527aadd1ab (test) router - reading os.environ/ variables 2023-12-06 09:19:51 -08:00
ishaan-jaff
5e065ebb8f (test) router - explcitly call one deployment 2023-12-05 21:57:00 -08:00
ishaan-jaff
0eccc1b1f8 (test) router: call 1 deployment 2023-12-05 17:35:35 -08:00
ishaan-jaff
1fa9ddd739 (chore) linting fix 2023-12-05 17:29:09 -08:00
ishaan-jaff
703a575a5d (test) call 1 deployment on router 2023-12-05 16:56:38 -08:00
ishaan-jaff
c717ed4d05 (test) router: test async embedding + embedding 2023-12-05 14:28:23 -08:00
ishaan-jaff
3ff57493f4 (test) router: openai async, sync, stream, no stream 2023-12-05 14:21:37 -08:00
ishaan-jaff
bc70a6fba8 (test) router: add tests for azure completion, acompletion 2023-12-05 13:59:27 -08:00
ishaan-jaff
0d1b42eda5 (test) azure - test async + sync embedding 2023-12-05 13:35:05 -08:00
ishaan-jaff
1463cc6023 (test) router Azure regular chat completion call 2023-12-05 13:28:07 -08:00
ishaan-jaff
e579918dd9 (test) Router: Test Azure acompletion, stream 2023-12-05 13:22:27 -08:00
ishaan-jaff
5829227d86 (test) router streaming + azure 2023-12-05 12:54:00 -08:00
ishaan-jaff
3bdf61f02a (test) test bedrock on router 2023-12-05 09:35:08 -08:00
ishaan-jaff
3891462b29 (fix) router: azure/embedding support 2023-11-29 19:06:36 -08:00
ishaan-jaff
305faab542 (test) router:get_available_deployment 2023-11-29 17:54:41 -08:00
ishaan-jaff
7a38a45d62 (test) test weighted selection router 2023-11-29 17:30:18 -08:00
Krrish Dholakia
094144de58 fix(router.py): removing model id before making call 2023-11-28 10:09:45 -08:00
Krrish Dholakia
ab0bc87427 fix(router.py): check if fallbacks is none 2023-11-25 14:58:07 -08:00
Krrish Dholakia
16e1070dbe test: refactor testing order 2023-11-24 12:47:28 -08:00
Krrish Dholakia
3dcbf6197a test(test_router.py): reintegrate router testing 2023-11-24 11:48:24 -08:00
Krrish Dholakia
c75e90663c test(test_stream_chunk_builder.py): fix setting api key 2023-11-24 11:47:48 -08:00
Krrish Dholakia
4a5dae3941 fix(main.py): fix streaming_chunk_builder to return usage 2023-11-24 11:27:04 -08:00
ishaan-jaff
ba9dbbe6d5 (test) router: acompletion + caching 2023-11-23 21:05:48 -08:00
Krrish Dholakia
187403c5cc fix(router.py): add modelgroup to call metadata 2023-11-23 20:55:49 -08:00
ishaan-jaff
db8ed601b5 (test) temp comment router to test ci/cd 2023-11-23 20:28:43 -08:00
Krrish Dholakia
7d221fe863 fix(utils.py): make failure logging sync 2023-11-23 20:19:27 -08:00
ishaan-jaff
704af2ca34 (test) testing fix 2023-11-23 17:20:22 -08:00
ishaan-jaff
3118101e2c (test) router: raises exception 2023-11-23 17:09:36 -08:00