Commit graph

111 commits

Author SHA1 Message Date
Krrish Dholakia
d0f228e53f refactor(proxy_server.py): refactoring experimental endpoint names 2023-11-21 12:12:15 -08:00
Krrish Dholakia
c6a4744947 feat(proxy_server.py): EXPERIMENTAL: adding queuing endpoints to openai proxy server 2023-11-21 12:06:23 -08:00
ishaan-jaff
6898840218 (fix) proxy server - raise 500 on exceptions 2023-11-21 08:36:34 -08:00
Krrish Dholakia
846a824c47 fix(proxy_server.py): run ollama serve when ollama in config.yaml 2023-11-21 08:35:04 -08:00
Krrish Dholakia
33e47dae8e feat(proxy_server.py): enable model aliases 2023-11-20 16:51:04 -08:00
Krrish Dholakia
1976d0f7d6 fix(routing.py): update token usage on streaming 2023-11-20 14:19:25 -08:00
Krrish Dholakia
d8079907b9 fix(proxy_server.py): fix linting errors 2023-11-18 17:35:16 -08:00
Krrish Dholakia
eefa66e8f0 docs(simple_proxy.md): adding token based auth to docs 2023-11-18 17:34:11 -08:00
ishaan-jaff
73ce9aceb2 (fix) linting 2023-11-18 17:05:46 -08:00
Krrish Dholakia
7a669a36d2 fix(proxy_server.py): handle initializing prisma / db connection just once 2023-11-18 16:45:19 -08:00
Krrish Dholakia
c02794d3ff feat(proxy_server.py): enable token based authentication for server endpoints 2023-11-18 16:13:53 -08:00
Krrish Dholakia
8ae855e008 fix(proxy_server.py): allow user to connect their proxy to a postgres db 2023-11-18 15:57:38 -08:00
ishaan-jaff
b8c64f16cd (chore) linting fix 2023-11-16 09:57:40 -08:00
ishaan-jaff
d9fb4d494c (feat) raise exception on proxy server 2023-11-16 09:51:17 -08:00
ishaan-jaff
a18fe5a1fd (fix) proxy raise exceptions from litellm.completion() 2023-11-15 16:26:04 -08:00
ishaan-jaff
e698f8218f (feat) proxy - show loaded config for users 2023-11-15 16:26:04 -08:00
ishaan-jaff
11872e0d45 (fix) proxy safe access router model names 2023-11-15 13:44:17 -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
Oliver Smith
4c980cb161 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
7ef8611952 fix(simple_proxy.md): enable setting a master key to protect proxy endpoints 2023-11-14 12:44:33 -08:00
ishaan-jaff
1207910522 (fix) proxy cli maintain back comp with openai < 1.00 2023-11-13 11:06:59 -08:00
ishaan-jaff
16abdf44c9 (fix) proxy_server convert chunk to dict() 2023-11-13 10:58:20 -08:00
ishaan-jaff
833c38edeb (fix) proxy raise exception when config path does not exist 2023-11-11 12:36:22 -08:00
ishaan-jaff
78e1ed9575 (fix) proxy raise exception when config passed in 2023-11-10 16:28:34 -08:00
ishaan-jaff
29eac53d76 (fix) proxy print exception when reading config 2023-11-10 16:22:20 -08:00
Krrish Dholakia
b9e6989e41 test: fix linting issues 2023-11-09 16:50:43 -08:00
ishaan-jaff
4b4d9bf142 (feat) proxy use default model in config 2023-11-09 13:08:23 -08:00
ishaan-jaff
64a50d6b98 (fix) proxy cleanup 2023-11-09 11:31:31 -08:00
Krrish Dholakia
e7735274de fix(factory.py): fixing llama-2 non-chat models prompt templating 2023-11-07 21:33:54 -08:00
ishaan-jaff
fbe887f8f9 (fix) proxy server - print error msg on exceptions 2023-11-06 17:55:33 -08:00
ishaan-jaff
e0116d2991 (fix) proxy server remove bloat 2023-11-06 15:55:18 -08:00
Krrish Dholakia
1b87e5a337 fix(proxy_server.py): fixing import issues 2023-11-05 21:14:59 -08:00
Krrish Dholakia
21ae940992 bump: version 0.13.1 → 0.13.2.dev1 2023-11-05 21:12:13 -08:00
Krrish Dholakia
5b3978eff4 fix(main.py): fixing print_verbose 2023-11-04 14:41:34 -07:00
Krrish Dholakia
4e1885734a refactor(proxy_server.py): print statement showing how to add debug for logs 2023-11-03 17:41:14 -07:00
ishaan-jaff
b45d438e63 (fix) proxy server remove errant print 2023-11-03 16:36:38 -07:00
Krrish Dholakia
7ed8f8dac8 fix(proxy_server.py): fix linting issues 2023-11-03 13:44:35 -07:00
Krrish Dholakia
6b3671b593 fix(proxy_server.py): accept config.yaml 2023-11-03 12:50:52 -07:00
ishaan-jaff
8b389e9e8a (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
1bef2c62a6 fix(proxy_server.py): fix linting issues 2023-11-02 08:07:20 -07:00
Krrish Dholakia
cb20554c79 fix(proxy_server.py): accept single quote json body 2023-11-02 07:07:38 -07:00
Krrish Dholakia
a12d0508c4 fix(proxy_server.py): fix v1/models get request 2023-11-02 06:51:47 -07:00
ishaan-jaff
bc61c81cc6 (feat) proxy server add route ngines/{model:path}/completions 2023-11-01 18:25:13 -07:00
Krrish Dholakia
ab0a29e160 fix(proxy_server.py): return all locally available ollama models 2023-11-01 16:20:26 -07:00
ishaan-jaff
c038731c48 (add request_timeout) as param to proxy_server 2023-10-20 11:55:42 -07:00
coconut49
f890aa1db5
Refactor code for better readability and remove unnecessary comments in Dockerfile. 2023-10-20 12:19:56 +08:00
coconut49
52fdfe5819
Improve code formatting and allow configurable litellm config path via environment variable. 2023-10-20 12:19:26 +08:00
Krrish Dholakia
01ba459682 fix(proxy_server.py): adding coverage for v1/models 2023-10-18 21:45:58 -07:00
Krrish Dholakia
3a8c8f56d6 feat(proxy_server.py): add model router to proxy 2023-10-18 17:40:08 -07:00
Krrish Dholakia
3863920ea5 feat(proxy_cli.py): optional logging 2023-10-18 16:51:47 -07:00