Commit graph

890 commits

Author SHA1 Message Date
Krrish Dholakia
abe2a009f9 test(test_completion.py): fix azure read from env variable test 2023-11-23 16:58:07 -08:00
ishaan-jaff
60dab0d700 (test) router: azure pass key in model list 2023-11-23 16:51:52 -08:00
ishaan-jaff
f7a5b31b96 (test) azure test passing key as completion param 2023-11-23 16:51:52 -08:00
Krrish Dholakia
c273d6f0d6 fix(router.py): add support for context window fallbacks on router 2023-11-23 16:43:02 -08:00
ishaan-jaff
a1bb880872 (test) router raise exceptions 2023-11-23 16:28:19 -08:00
Krrish Dholakia
afac42e93a fix(router.py): enable async completions with model fallbacks 2023-11-23 16:15:57 -08:00
ishaan-jaff
1365092c89 (test) router: ensure errors are raised 2023-11-23 16:08:59 -08:00
ishaan-jaff
525e01824a (test) ensure exception raised when incorrect key passed 2023-11-23 16:08:59 -08:00
Krrish Dholakia
8ac03e492f fix(router.py): enable fallbacks for sync completions 2023-11-23 16:06:46 -08:00
ishaan-jaff
bb00595429 (feat) cost: azure gpt + testing 2023-11-23 14:20:48 -08:00
ishaan-jaff
90a9116a17 (test) strict test ft:gpt-3.5 cost calc 2023-11-23 14:11:01 -08:00
ishaan-jaff
da7c07574f (test) cost calc on azure 2023-11-23 13:50:09 -08:00
Krrish Dholakia
4f183dc6a0 fix(utils.py): support reading api keys dynamically from the os environment 2023-11-23 13:41:56 -08:00
ishaan-jaff
2c50ea94c8 (test) embedding: azurea - dd response_ms 2023-11-23 11:15:52 -08:00
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