Commit graph

373 commits

Author SHA1 Message Date
ishaan-jaff
41365b6e47 (test) palm/stream 2023-12-04 15:07:07 -08:00
ishaan-jaff
93f5c266da (test) test completion: if 'user' passed to API 2023-12-04 09:50:36 -08:00
Krrish Dholakia
ac4429c35f test(test_completion.py): commenting out flaky test 2023-12-01 15:06:54 -08:00
Krrish Dholakia
82553e8aac fix(azure.py): fix linting errors 2023-11-30 13:32:29 -08:00
Krrish Dholakia
4f07c8565a feat(main.py): add support for azure-openai via cloudflare ai gateway 2023-11-30 13:19:49 -08:00
Krrish Dholakia
1f5a1122fc fix(replicate.py): fix custom prompt formatting 2023-11-29 19:44:09 -08:00
ishaan-jaff
f4a7760ea1 (feat+test) use passed OpenAI client 2023-11-28 16:09:10 -08:00
ishaan-jaff
01c38d37fa (test) pass client to Azure completion 2023-11-28 15:57:11 -08:00
ishaan-jaff
1a0b683a8e (test) using client: compleition 2023-11-28 15:44:56 -08:00
ishaan-jaff
37f3b1edd1 (ci/cd) run again 2023-11-27 11:12:11 -08:00
ishaan-jaff
a4754f9098 (test) competion 2023-11-27 10:13:46 -08:00
ishaan-jaff
26938f697e (feat) completion:debugging - show raw POST request 2023-11-27 10:13:37 -08:00
ishaan-jaff
90687d51f1 (test) sagemaker add chat models 2023-11-27 10:11:56 -08:00
Krrish Dholakia
95579fda7d fix(utils.py): fix bedrock + cohere calls 2023-11-25 14:45:42 -08:00
ishaan-jaff
565d51a4b4 (test) metadata test in litellm.completion 2023-11-25 11:10:06 -08:00
Krrish Dholakia
e732fb8b97 fix(main.py): logit bias mapping for batch_completions 2023-11-24 16:05:51 -08:00
ishaan-jaff
41c6388185 (test) completion with many params 2023-11-24 14:01:21 -08:00
Krrish Dholakia
94dc3f66f3 fix(utils.py): remove eos token for zephyr models 2023-11-23 17:47:39 -08:00
ishaan-jaff
3ee141e1e2 (test) cleanup 2023-11-23 17:09:36 -08:00
Krrish Dholakia
abe2a009f9 test(test_completion.py): fix azure read from env variable test 2023-11-23 16:58:07 -08:00
ishaan-jaff
f7a5b31b96 (test) azure test passing key as completion param 2023-11-23 16:51:52 -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
8ebc1b974c (chore) run ci/cd again 2023-11-22 20:34:14 -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
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
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
2a681c1874 fix(utils.py): fix pre call rules 2023-11-21 07:10:04 -08:00
Krrish Dholakia
985583023a test(test_completion.py): change tgai model 2023-11-17 16:06:42 -08:00
ishaan-jaff
f026ed4772 (test) test seed, response format, for gpt-3.5-turbo 2023-11-17 14:00:42 -08:00
Krrish Dholakia
a94c09c13c fix(openai.py): handling extra headers 2023-11-16 12:48:21 -08:00
Krrish Dholakia
bf0f8b824c fix(azure.py): use openai client sdk for handling sync+async calling 2023-11-16 12:08:12 -08:00
Krrish Dholakia
93aae8669d fix(openai.py): using openai sdk for completion calls 2023-11-15 20:25:27 -08:00
Krrish Dholakia
2750a26633 fix(openai.py): fix timeout errors 2023-11-15 18:03:14 -08:00
Krrish Dholakia
a3d280baa3 test: cleanup testing 2023-11-15 17:57:14 -08:00
Krrish Dholakia
9fd7c5b343 test: set request timeout at request level 2023-11-15 17:42:31 -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
f5abde775b test(test_completion.py): fix palm test 2023-11-14 22:28:56 -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
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
ishaan-jaff
a21ff38694 (test) deepinfra with openai v1.0.0 2023-11-13 09:51:45 -08:00
Krrish Dholakia
62013520aa fix(utils.py): replacing openai.error import statements 2023-11-11 19:25:21 -08:00