Commit graph

38 commits

Author SHA1 Message Date
Krrish Dholakia
ea96eebe85 refactor: move all testing to top-level of repo
Closes https://github.com/BerriAI/litellm/issues/486
2024-09-28 21:08:14 -07:00
Ishaan Jaff
f2d50989ab test UnsupportedParamsError 2024-07-24 12:21:22 -07:00
ishaan-jaff
1cd22a2149 (test) fix test_completion_invalid_param_cohere 2024-01-29 17:03:58 -08:00
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
ishaan-jaff
bcd16640a2 (test) temp comment unstable NLP Cloud API test 2023-10-12 18:24:37 -07:00
ishaan-jaff
a2524c328a (tests) fix test_completion_catch_nlp_exception to catch functions sent to nlp cloud 2023-10-12 18:11:02 -07:00
Krrish Dholakia
cc0e4f4f9f fix: fix value error if model returns empty completion 2023-10-10 10:11:40 -07:00
Krrish Dholakia
1d75e24876 test(test_bad_params): fix cohere bad params test 2023-10-09 20:37:58 -07:00
Krrish Dholakia
5ff4dbaa5c fix(proxy_server): returns better error messages for invalid api errors 2023-10-09 15:03:44 -07:00
Krrish Dholakia
4ea7162a81 support cohere top p 2023-10-02 21:38:56 -07:00
Krrish Dholakia
d735f48917 fixes to get_optional_params 2023-10-02 12:34:22 -07:00
Krrish Dholakia
12fa4069f3 raise exception if optional param is not mapped to model 2023-10-02 11:17:51 -07:00
Krrish Dholakia
31b7022d17 add testing for function calling 2023-10-02 07:39:01 -07:00
Krrish Dholakia
47f93024dd cleanup 2023-09-26 21:55:25 -07:00
Krrish Dholakia
7aaa857c90 add switching api keys + api bases to docs 2023-09-26 21:47:33 -07:00
Krrish Dholakia
3f6b194b71 raise better exception if llm provider isn't passed in or inferred 2023-09-12 11:28:50 -07:00
Krrish Dholakia
f7dbdb52bd improve error message returned if model not passed in 2023-09-09 11:18:10 -07:00
ishaan-jaff
e46aa470b4 caching with model names 2023-08-18 13:48:32 -07:00
ishaan-jaff
9c6535bafb with working linting 2023-08-18 12:32:44 -07:00
ishaan-jaff
4c30f67657 linting 4 2023-08-18 12:28:43 -07:00
ishaan-jaff
1acb840395 test#3 linting 2023-08-18 12:24:41 -07:00
ishaan-jaff
b82c3002e0 lint test 2 2023-08-18 12:20:24 -07:00
ishaan-jaff
9004e92789 test linting 2023-08-18 12:18:07 -07:00
ishaan-jaff
f0cad63e05 linting test 2023-08-18 12:13:04 -07:00
ishaan-jaff
141177c2c3 with failing linting 2023-08-18 12:10:54 -07:00
ishaan-jaff
b283005e7b all fixes to linting 2023-08-18 11:56:44 -07:00
ishaan-jaff
2c7ffb7c75 add linting 2023-08-18 11:05:05 -07:00
Krrish Dholakia
7912882d99 adding tenacity retries 2023-08-03 10:06:31 -07:00
Krrish Dholakia
38f226aaf0 cleanup 2023-08-01 11:29:24 -07:00
ishaan-jaff
dcf7f03ac7 better testing 2023-07-31 18:47:50 -07:00
ishaan-jaff
a592d01fa3 add better testing 2023-07-31 18:40:07 -07:00
Krrish Dholakia
990e4b499e clean up code files 2023-07-31 18:26:16 -07:00
ishaan-jaff
49ee445ea2 for testing github action 2023-07-31 18:05:42 -07:00
ishaan-jaff
acaca0f47a try passing tests 2023-07-31 17:40:08 -07:00
ishaan-jaff
3b6375c853 fix bad test 2023-07-31 17:02:55 -07:00
Ishaan Jaff
39d61c8bea Update test_bad_params.py 2023-07-31 16:38:53 -07:00
Krrish Dholakia
1739cbdd6c cleaning up client, and fixing replicate bug 2023-07-31 13:25:30 -07:00
Krrish Dholakia
9c31933af9 version 0.1.2 2023-07-31 08:48:49 -07:00