Commit graph

1904 commits

Author SHA1 Message Date
Krrish Dholakia
59b547a65e docs(simple_proxy.md): adding token based auth to docs 2023-11-18 17:34:11 -08:00
ishaan-jaff
2466d26301 (fix) linting 2023-11-18 17:05:46 -08:00
Krrish Dholakia
6a1270ce5a fix(proxy_server.py): handle initializing prisma / db connection just once 2023-11-18 16:45:19 -08:00
Krrish Dholakia
8e599ed4f8 feat(proxy_server.py): enable token based authentication for server endpoints 2023-11-18 16:13:53 -08:00
Krrish Dholakia
229e5ea083 fix(proxy_server.py): allow user to connect their proxy to a postgres db 2023-11-18 15:57:38 -08:00
ishaan-jaff
900593355b (chore) linting fix 2023-11-16 09:57:40 -08:00
ishaan-jaff
082acfcc53 (feat) raise exception on proxy server 2023-11-16 09:51:17 -08:00
ishaan-jaff
b1deaa1246 (fix) proxy raise exceptions from litellm.completion() 2023-11-15 16:26:04 -08:00
ishaan-jaff
f3827bc6da (feat) proxy - show loaded config for users 2023-11-15 16:26:04 -08:00
ishaan-jaff
b10e7b7973 (fix) proxy safe access router model names 2023-11-15 13:44:17 -08:00
Krrish Dholakia
e5929f2f7e fix(azure.py-+-proxy_server.py): fix function calling response object + support router on proxy 2023-11-15 13:15:16 -08:00
Oliver Smith
4e4e0a2251 need to re-attempt backoff and yaml imports if the first import attempt fails. not sure which import is missing from requirements 2023-11-15 00:10:22 -08:00
Krrish Dholakia
1283f345dc fix(simple_proxy.md): enable setting a master key to protect proxy endpoints 2023-11-14 12:44:33 -08:00
ishaan-jaff
8ae511b178 (fix) proxy cli maintain back comp with openai < 1.00 2023-11-13 11:06:59 -08:00
ishaan-jaff
91e6ac36c3 (fix) proxy_server convert chunk to dict() 2023-11-13 10:58:20 -08:00
ishaan-jaff
a861dd69c9 (fix) proxy raise exception when config path does not exist 2023-11-11 12:36:22 -08:00
ishaan-jaff
7eeb931021 (fix) proxy raise exception when config passed in 2023-11-10 16:28:34 -08:00
ishaan-jaff
a924853182 (fix) proxy print exception when reading config 2023-11-10 16:22:20 -08:00
Krrish Dholakia
1affa89ad7 test: fix linting issues 2023-11-09 16:50:43 -08:00
ishaan-jaff
55b005ef9b (feat) proxy use default model in config 2023-11-09 13:08:23 -08:00
ishaan-jaff
8d39bf6d43 (fix) proxy cleanup 2023-11-09 11:31:31 -08:00
Krrish Dholakia
17867e6e15 fix(factory.py): fixing llama-2 non-chat models prompt templating 2023-11-07 21:33:54 -08:00
ishaan-jaff
654e31af1c (fix) proxy server - print error msg on exceptions 2023-11-06 17:55:33 -08:00
ishaan-jaff
857e5fe6b8 (fix) proxy server remove bloat 2023-11-06 15:55:18 -08:00
Krrish Dholakia
c4ed875f47 fix(proxy_server.py): fixing import issues 2023-11-05 21:14:59 -08:00
Krrish Dholakia
597dc8f34c bump: version 0.13.1 → 0.13.2.dev1 2023-11-05 21:12:13 -08:00
Krrish Dholakia
f7c5595a0d fix(main.py): fixing print_verbose 2023-11-04 14:41:34 -07:00
Krrish Dholakia
fa24a61976 refactor(proxy_server.py): print statement showing how to add debug for logs 2023-11-03 17:41:14 -07:00
ishaan-jaff
45110a3671 (fix) proxy server remove errant print 2023-11-03 16:36:38 -07:00
Krrish Dholakia
1828de78e8 fix(proxy_server.py): fix linting issues 2023-11-03 13:44:35 -07:00
Krrish Dholakia
302b5ced99 fix(proxy_server.py): accept config.yaml 2023-11-03 12:50:52 -07:00
ishaan-jaff
2cedf85dba (fix) proxy correctly handle reading data using ast, fallback to json.loads if ast parse fails 2023-11-02 21:14:08 -07:00
Krrish Dholakia
4ad8fd1b5d fix(proxy_server.py): fix linting issues 2023-11-02 08:07:20 -07:00
Krrish Dholakia
a652f05bb3 fix(proxy_server.py): accept single quote json body 2023-11-02 07:07:38 -07:00
Krrish Dholakia
1aea48784d fix(proxy_server.py): fix v1/models get request 2023-11-02 06:51:47 -07:00
ishaan-jaff
651fce2b8a (feat) proxy server add route ngines/{model:path}/completions 2023-11-01 18:25:13 -07:00
Krrish Dholakia
435f0809b2 fix(proxy_server.py): return all locally available ollama models 2023-11-01 16:20:26 -07:00
ishaan-jaff
63f9f63ba4 (add request_timeout) as param to proxy_server 2023-10-20 11:55:42 -07:00
coconut49
8404d12adb Refactor code for better readability and remove unnecessary comments in Dockerfile. 2023-10-20 12:19:56 +08:00
coconut49
4fc7755662 Improve code formatting and allow configurable litellm config path via environment variable. 2023-10-20 12:19:26 +08:00
Krrish Dholakia
836f615b4f fix(proxy_server.py): adding coverage for v1/models 2023-10-18 21:45:58 -07:00
Krrish Dholakia
0c083e7a5c feat(proxy_server.py): add model router to proxy 2023-10-18 17:40:08 -07:00
Krrish Dholakia
139f4b64d0 feat(proxy_cli.py): optional logging 2023-10-18 16:51:47 -07:00
Krrish Dholakia
eb05b093ad fix(utils.py): mapping azure api version missing exception 2023-10-17 17:12:51 -07:00
Krrish Dholakia
48907e4399 test(test_proxy.py): add tests for debugging 2023-10-17 16:47:48 -07:00
Krrish Dholakia
7af0223d72 fix(proxy_server.py): putting load config in a try-except block 2023-10-17 13:45:35 -07:00
Krrish Dholakia
5e6708e1b1 fix(proxy_server.py): add backoff to install 2023-10-17 13:42:57 -07:00
Krrish Dholakia
5e21178eed refactor(proxy_cli.py): code cleanup 2023-10-17 13:29:47 -07:00
Krrish Dholakia
c2fdbae24f refactor(llm.py): fixes linting issues 2023-10-17 13:07:21 -07:00
coconut49
1b672dfb51 Add new routes for v1 versioning in proxy server 2023-10-18 01:54:47 +08:00