Commit graph

976 commits

Author SHA1 Message Date
Krrish Dholakia
61fc76a8c4 fix(router.py): fix caching for tracking cooldowns + usage 2023-11-23 11:13:32 -08:00
ishaan-jaff
fbd2ab4c71 (test) caching ensure we always test add/get caching redis 2023-11-23 08:27:44 -08:00
ishaan-jaff
db146bc40a (test) router with fallback deployments 2023-11-22 20:52:56 -08:00
ishaan-jaff
8ebc1b974c (chore) run ci/cd again 2023-11-22 20:34:14 -08:00
Krrish Dholakia
5d5ca9f7ef fix(router.py): add support for cooldowns with redis 2023-11-22 19:54:22 -08:00
Krrish Dholakia
3e76d4b422 feat(router.py): add server cooldown logic 2023-11-22 15:59:48 -08:00
ishaan-jaff
c38782521c (test)timeout error on openai embedding 2023-11-22 14:25:55 -08:00
ishaan-jaff
40e88eec4b (test)timeout errors 2023-11-22 14:25:55 -08:00
ishaan-jaff
3059f30672 (test) verify azure response have expected keys 2023-11-22 14:25:55 -08:00
Krrish Dholakia
0b4e10e068 test(test_embedding.py): fix the embedding test 2023-11-22 14:09:45 -08:00
ishaan-jaff
40dd38508f (test) embedding stricter testing 2023-11-22 13:50:45 -08:00
Krrish Dholakia
b0801f61e6 test(test_caching.py): cleaning up tests 2023-11-22 13:43:48 -08:00
Krrish Dholakia
78582e158a fix(main.py): fix acompletion for anyscale, openrouter, deepinfra, perplexity endpoints 2023-11-22 13:22:58 -08:00
Krrish Dholakia
604ad41eac fix(proxy_server.py): If master key is set, only master key can be used to generate new keys 2023-11-22 10:18:28 -08:00
Krrish Dholakia
10fe16c965 fix(utils.py): add param mapping for perplexity, anyscale, deepinfra
n

n
2023-11-22 10:04:27 -08:00
Krrish Dholakia
76f46902ed feat(router.py): adding latency-based routing strategy 2023-11-21 21:19:27 -08:00
Krrish Dholakia
381fdcd37b fix(utils.py): add response ms for async calls 2023-11-21 19:59:00 -08:00
Krish Dholakia
e4f1e2b138
Merge pull request #845 from canada4663/upstream-main
Added support for multiple embeddings via Bedrock
2023-11-21 14:00:06 -08:00
ishaan-jaff
7c79d10e9f (test) catch streaming + timeout exceptions 2023-11-21 13:46:21 -08:00
ishaan-jaff
9d6569791f (test) timeout error 2023-11-21 13:37:12 -08:00
Krrish Dholakia
37187e8e88 test(test_completion.py): fix replicate streaming test 2023-11-21 10:38:05 -08:00
Krrish Dholakia
c23d42305d test(test_rules.py): refactor testing 2023-11-21 10:01:06 -08:00
Krrish Dholakia
41483d2660 feat(factory.py): add support for anthropic system prompts for claude 2.1 2023-11-21 09:57:26 -08:00
Krrish Dholakia
6892fd8b51 fix(huggingface_restapi.py): fix huggingface response format 2023-11-21 09:57:26 -08:00
ishaan-jaff
219470ed68 (test) add claude-2.1 2023-11-21 09:53:47 -08:00
Krrish Dholakia
8534bf96d5 test(test_rules.py): clear rules after test completes 2023-11-21 08:18:04 -08:00
Krrish Dholakia
2a681c1874 fix(utils.py): fix pre call rules 2023-11-21 07:10:04 -08:00
Krrish Dholakia
ab2986290e fix(utils.py): fix rules calling 2023-11-20 21:06:36 -08:00
ishaan-jaff
d4caa918d5 (test) wandb logger 2023-11-20 19:08:53 -08:00
Krrish Dholakia
855964ed45 fix(utils.py): adding support for rules + mythomax/alpaca prompt template 2023-11-20 18:58:15 -08:00
ishaan-jaff
4020b807f6 (test) passing max_retries 2023-11-20 16:57:37 -08:00
canada4663
74ed37c4f2 bedrock embedding changes pre-testing 2023-11-18 21:00:06 -08:00
ishaan-jaff
b262f0846b (test) update testing streaming for open ai v1.0.0+ 2023-11-18 19:04:41 -08:00
ishaan-jaff
4b110b3fa4 (test) palm streaming test 2023-11-18 17:32:15 -08:00
ishaan-jaff
80002e9a14 (test) remove unused tests 2023-11-18 17:25:42 -08:00
ishaan-jaff
b5968a3ed8 (test) async for chunk 2023-11-18 17:17:39 -08:00
ishaan-jaff
d7e215a3e0 (test) do nothing if token==None in stream chunk 2023-11-18 17:13:16 -08:00
ishaan-jaff
349a1472df (test) openai streaming + function calling 2023-11-18 17:01:46 -08:00
ishaan-jaff
4a364bcbc0 (test) tool/function calling + streaming 2023-11-18 16:23:29 -08:00
ishaan-jaff
4d755c9f2f (test) function calling 2023-11-18 15:15:02 -08:00
Krrish Dholakia
3ea776bdc0 fix(text_completion): allow either model or engine to be set 2023-11-17 18:25:21 -08:00
Krrish Dholakia
8e430fcfbe test(test_async_fn.py): catch timeouts 2023-11-17 18:01:52 -08:00
Krrish Dholakia
478bd7def6 fix(router.py): introducing usage-based-routing 2023-11-17 17:56:26 -08:00
ishaan-jaff
a6a862dc5a (ci/cd) fix timeout error 2023-11-17 17:46:49 -08:00
Krrish Dholakia
5cddab9e54 test(test_langfuse.py): handle timeouts 2023-11-17 17:05:46 -08:00
ishaan-jaff
d2bac07b48 (test) parallel tool calling 2023-11-17 17:03:24 -08:00
Krrish Dholakia
985583023a test(test_completion.py): change tgai model 2023-11-17 16:06:42 -08:00
Krrish Dholakia
a99efc544e fix(test_router.py): catch timeouts 2023-11-17 15:56:06 -08:00
ishaan-jaff
bb9e7c65e9 (test) parallel function calling 2023-11-17 15:51:27 -08:00
Krrish Dholakia
0ab6b2451d fix(acompletion): support client side timeouts + raise exceptions correctly for async calls 2023-11-17 15:39:47 -08:00