Commit graph

99 commits

Author SHA1 Message Date
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
Krrish Dholakia
a7c3fc2fd9 fix(utils.py): mapping azure api version missing exception 2023-10-17 17:12:51 -07:00
Krrish Dholakia
b67fe857dd test(test_proxy.py): add tests for debugging 2023-10-17 16:47:48 -07:00
Krrish Dholakia
450f6edce8 fix(proxy_server.py): putting load config in a try-except block 2023-10-17 13:45:35 -07:00
Krrish Dholakia
e0ae2c5d68 fix(proxy_server.py): add backoff to install 2023-10-17 13:42:57 -07:00
Krrish Dholakia
2f57dc8906 refactor(proxy_cli.py): code cleanup 2023-10-17 13:29:47 -07:00
Krrish Dholakia
e34e6429a7 refactor(llm.py): fixes linting issues 2023-10-17 13:07:21 -07:00
coconut49
356a10431d
Add new routes for v1 versioning in proxy server 2023-10-18 01:54:47 +08:00
coconut49
db55dac434
merge 2023-10-18 01:47:56 +08:00
coconut49
0939302ae9
Refactor proxy_server.py to simplify v1 endpoints and improve logging 2023-10-18 00:35:51 +08:00
Krrish Dholakia
dcb866b353 docs(proxy_server.md): update proxy server docs to include multi-agent autogen tutorial 2023-10-17 09:22:34 -07:00
coconut49
4414594e7d
Refactor proxy_server.py for readability and code consistency 2023-10-17 23:48:55 +08:00
Krrish Dholakia
541a8b7bc8 fix(proxy_server): improve error handling 2023-10-16 19:42:53 -07:00