Commit graph

517 commits

Author SHA1 Message Date
ishaan-jaff
f97ebdb4bd (docs) proxy - OTEL + traceloop 2023-12-08 18:39:52 -08:00
ishaan-jaff
1e3d909408 (fix) linting 2023-12-08 17:26:14 -08:00
Krrish Dholakia
9c6584a376 fix(proxy_server.py): enable pre+post-call hooks and max parallel request limits 2023-12-08 17:11:30 -08:00
ishaan-jaff
de6880dc09 (feat) pass model_info, proxy_server_request to callback 2023-12-08 14:26:18 -08:00
Krrish Dholakia
b198234f78 fix(proxy/utils.py): correctly raise exceptions on db call fail 2023-12-08 13:35:42 -08:00
Krrish Dholakia
04fc583baf fix(proxy/utils.py): add backoff/retry logic to db read/writes 2023-12-08 13:34:31 -08:00
Krrish Dholakia
8460924f1d fix(proxy_server.py): initializing sentry in proxy logging before db init 2023-12-08 11:58:16 -08:00
Krrish Dholakia
4ff969bf6d feat(proxy_server.py): add sentry logging for db read/writes 2023-12-08 11:40:19 -08:00
Krrish Dholakia
316abe38a9 fix(proxy/utils.py): tracking db failed writes 2023-12-08 10:40:02 -08:00
Krrish Dholakia
7c962637f5 fix(utils.py): fix cost calculation to handle tool input 2023-12-08 09:53:46 -08:00
Krrish Dholakia
8d5c3ea36c fix(requirements.txt): add ollama async_generator in requirements.txt 2023-12-08 09:20:04 -08:00
Krrish Dholakia
30204497e0 fix: setting cache responses on proxy 2023-12-07 20:39:40 -08:00
Krrish Dholakia
665939bc48 fix(proxy_server.py): add call hooks pre+post completion and embedding calls 2023-12-07 20:35:32 -08:00
Krrish Dholakia
c739b29eb0 feat(proxy_server.py): enable background health checks 2023-12-07 19:40:06 -08:00
ishaan-jaff
2f5d56af9f (feat) async callbacks with litellm.completion() 2023-12-07 18:09:57 -08:00
ishaan-jaff
f744445db4 (fix) make print_verbose non blocking 2023-12-07 17:31:32 -08:00
Krrish Dholakia
69c34493ce fix(router.py): fix default caching response value 2023-12-07 13:44:31 -08:00
ishaan-jaff
c6d19046f2 (test) proxy - async custom logger 2023-12-07 13:19:17 -08:00
Krrish Dholakia
4d1c294837 docs(config.md): adding docs on parallel request rate limiting 2023-12-07 11:27:48 -08:00
Krrish Dholakia
ae1b793ec7 docs(deploy.md): add docker instructions to deploy docs 2023-12-07 09:22:54 -08:00
Krrish Dholakia
e835bbd88b refactor(proxy_server.py): linting fix 2023-12-06 22:49:30 -08:00
Krrish Dholakia
583de6ab92 fix(bedrock.py): fix output format for cohere embeddings 2023-12-06 22:47:01 -08:00
ishaan-jaff
a7584a2b75 (test) unset model_group_alias_map after test 2023-12-06 20:35:14 -08:00
ishaan-jaff
13a0a9f22c (feat) proxy use model_group_alias_map 2023-12-06 20:23:24 -08:00
Krrish Dholakia
2af2a17bc8 test: fix proxy server testing 2023-12-06 18:38:53 -08:00
ishaan-jaff
aa5bc26f59 (feat) proxy: protect health endpoint 2023-12-06 18:14:54 -08:00
Krrish Dholakia
b7e75b940a test: fix config import for proxy testing 2023-12-06 17:40:38 -08:00
Krrish Dholakia
0dc36c03d4 test: fix test imports 2023-12-06 17:21:47 -08:00
ishaan-jaff
1d7cc35bae (fix) proxy edit custom logger 2023-12-06 17:16:24 -08:00
ishaan-jaff
e8e6e32509 (fix) proxy use async logging 2023-12-06 17:16:24 -08:00
ishaan-jaff
0532c038ff (feat) proxy print set callbacks 2023-12-06 17:16:24 -08:00
Krrish Dholakia
37f717d0f7 fix(proxy_server.py): make headers json serializable 2023-12-06 17:09:02 -08:00
Krrish Dholakia
8cbcc85496 fix(proxy_server.py): enable rate limiting concurrent user requests 2023-12-06 15:11:05 -08:00
ishaan-jaff
d7f81cd9aa (feat) proxy - custom on failure callback 2023-12-06 14:43:47 -08:00
ishaan-jaff
e07ddd8063 (feat) proxy - async_on_fail_logger 2023-12-06 14:43:47 -08:00
ishaan-jaff
58f9ef8960 (chore) print verbose 2023-12-06 14:14:20 -08:00
ishaan-jaff
d628e6b86b (fix) print statements 2023-12-06 14:11:23 -08:00
ishaan-jaff
60317f1476 (fix) proxy /model/new writing to config 2023-12-06 14:11:23 -08:00
Krrish Dholakia
0dff2ebf55 fix(proxy_server.py): allow worker config to just be the config filepath 2023-12-06 14:03:25 -08:00
ishaan-jaff
6b8d1a20f5 (feat) proxy: use async_callback function 2023-12-06 13:51:24 -08:00
Krrish Dholakia
a18bdb3f2e fix(bedrock.py): adding support for cohere embeddings 2023-12-06 13:25:18 -08:00
ishaan-jaff
9703afdef1 (fix) linting 2023-12-06 13:14:26 -08:00
ishaan-jaff
e5d03889fa (feat) /v1/model/info 2023-12-06 13:03:29 -08:00
ishaan-jaff
1cccaa97e5 (feat) proxy add ext-embedding-ada-002 as a base model 2023-12-06 12:19:47 -08:00
ishaan-jaff
e9a2288251 (feat) proxy - define model info 2023-12-06 12:06:30 -08:00
Krrish Dholakia
6d1a5089e3 refactor: fix linting errors 2023-12-06 11:46:15 -08:00
ishaan-jaff
f52a65d43b (feat) proxy - allow setting cost, context window 2023-12-06 11:42:56 -08:00
ishaan-jaff
f9eed4c89b (docs) update yaml with chat/embedding/completion mode 2023-12-06 11:36:16 -08:00
ishaan-jaff
dc03decce7 (feat) proxy: add mode in model info 2023-12-06 11:29:59 -08:00
ishaan-jaff
39b60b7b97 (feat) add mode for config.yaml health checks 2023-12-06 11:16:29 -08:00