Commit graph

40 commits

Author SHA1 Message Date
Krrish Dholakia
10f76ec36c test: testing fixes 2024-01-09 12:59:42 +05:30
Krrish Dholakia
e45b491985 fix(main.py): log user for embedding calls 2023-12-14 15:14:37 -08:00
Krrish Dholakia
51d62189f1 test(test_optional_params.py): unit tests for get_optional_params_embeddings() 2023-12-14 14:32:36 -08:00
Krrish Dholakia
2a4c1a1803 fix(proxy_server.py): don't pass in user param if not sent 2023-12-14 14:17:33 -08:00
Krrish Dholakia
d1aef59fbc fix(utils.py): fix stream chunk builder for sync/async success 2023-12-13 07:52:51 -08:00
Krrish Dholakia
a64bd2ca1e fix(sagemaker.py): filter out templated prompt if in model response 2023-12-13 07:43:33 -08:00
Krrish Dholakia
8b07a6c046 fix(main.py): pass user_id + encoding_format for logging + to openai/azure 2023-12-12 15:46:44 -08:00
ishaan-jaff
e5bc7b338a (test) stream - cache 2023-12-11 22:57:39 -08:00
ishaan-jaff
e49af2272d (test) custom logger + cache 2023-12-11 22:46:49 -08:00
Krrish Dholakia
3e908bf507 fix(router.py): reset caching correctly 2023-12-11 19:57:34 -08:00
Krrish Dholakia
6cb4ef5659 test(test_caching.py): reset cache values at the end of test 2023-12-11 18:10:53 -08:00
Krrish Dholakia
1f18093b63 test(test_custom_logger.py): reset cache test correctly 2023-12-11 17:41:47 -08:00
ishaan-jaff
bf1044444c (test) caching 2023-12-09 16:58:56 -08:00
ishaan-jaff
0c8b8200b8 (ci/cd) run tests again 2023-12-09 16:02:02 -08:00
ishaan-jaff
0dcdf5f6ea (fix) use cache + custom callbacks 2023-12-09 12:41:26 -08:00
ishaan-jaff
875b7d1c7f (test) custom logger 2023-12-09 10:42:50 -08:00
ishaan-jaff
4643a9ac18 (test) custom logger + stream + sync compl() 2023-12-09 10:22:45 -08:00
ishaan-jaff
5d65550732 (test) custom logger print success handler 2023-12-09 10:04:10 -08:00
ishaan-jaff
e237361891 (test) async logger + streaming 2023-12-08 17:25:05 -08:00
ishaan-jaff
b50faed5ab (test) callback - strict test - async callback resp 2023-12-08 17:25:05 -08:00
ishaan-jaff
b8b15435b7 (test) undo fd04b48 2023-12-07 18:38:51 -08:00
ishaan-jaff
fd04b48764 (feat) async callbacks with litellm.completion() 2023-12-07 18:09:57 -08:00
ishaan-jaff
095aa94e71 (fix) linting 2023-12-06 20:26:57 -08:00
ishaan-jaff
04eecaa493 (test) custom logger on fail 2023-12-06 19:15:08 -08:00
ishaan-jaff
f3469fdef8 (test) aembedding on custom logger 2023-12-06 19:09:06 -08:00
ishaan-jaff
1b43c7120c (test) custom logger - check kwargs passed all the way 2023-12-06 18:08:48 -08:00
ishaan-jaff
c8c45ef9c4 (test) async custom logger 2023-12-06 17:53:06 -08:00
Krrish Dholakia
e0ccb281d8 feat(utils.py): add async success callbacks for custom functions 2023-12-04 16:42:40 -08:00
Krrish Dholakia
7175cac1de test(test_custom_logger.py): comment out streaming/success test due to pytest build issues 2023-11-29 12:18:02 -08:00
Krrish Dholakia
2b437a2699 fix(utils.py): return last streaming chunk 2023-11-29 12:11:08 -08:00
Krrish Dholakia
a9ed768991 fix(azure.py): fix error handling for openai/azure streaming 2023-11-29 11:52:24 -08:00
Krrish Dholakia
bb1267eb07 fix(router.py): fix exponential backoff to use retry-after if present in headers 2023-11-28 17:25:03 -08:00
Krrish Dholakia
150b91d476 fix(utils.py): fix streaming on-success logging 2023-11-28 09:11:47 -08:00
Krrish Dholakia
da68e1ea81 perf(openai.py): extending request timeout 2023-11-15 18:45:45 -08:00
Krrish Dholakia
fc8b54eb73 fix(openai.py): switch back to using requests instead of httpx 2023-11-15 18:25:21 -08:00
Krrish Dholakia
c3916a7754 feat(utils.py): adding additional states for custom logging 2023-11-04 17:07:20 -07:00
ishaan-jaff
f6983223f9 (test) track usage in custom callback streaming 2023-10-31 23:05:42 -07:00
ishaan-jaff
749c7ea73d (test) test custom input_callback 2023-10-24 17:40:59 -07:00
ishaan-jaff
3f3af9dae7 (test) add slack custom webhook testing 2023-10-19 09:11:58 -07:00
ishaan-jaff
eaaede608e custom_logger for litellm - callback_func 2023-09-09 18:41:41 -07:00