Commit graph

4515 commits

Author SHA1 Message Date
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
ishaan-jaff
c0a4881194 (fix) proxy cli tests 2023-11-02 21:14:08 -07:00
ishaan-jaff
2833564065 (fix) proxy server - verbose = False always 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
414f503022 (feat) proxy add testing for openai.Completion.create 2023-11-01 18:25:13 -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
Krish Dholakia
71d69ba1ed Merge pull request #655 from coconut49/main
Create GitHub Action to automatically build docker images
2023-10-19 21:49:18 -07:00
coconut49
8404d12adb Refactor code for better readability and remove unnecessary comments in Dockerfile. 2023-10-20 12:19:56 +08:00
coconut49
0577dcaba8 Move Dockerfile to root and set environment variable for config path 2023-10-20 12:19:29 +08:00
coconut49
4fc7755662 Improve code formatting and allow configurable litellm config path via environment variable. 2023-10-20 12:19:26 +08:00
coconut49
86f73ebfcb Relocate Dockerfile to litellm/proxy directory. 2023-10-20 12:18:37 +08:00
Krrish Dholakia
494b9bbc62 test: fix linting testing 2023-10-19 18:40:33 -07: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
2e62021405 test(test_proxy.py): adding testing for proxy server 2023-10-17 16:29:11 -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
coconut49
cfeaa79bea merge 2023-10-18 01:47:56 +08:00
coconut49
701efc645f Refactor Dockerfile and proxy_cli.py to use new secrets file location 2023-10-18 01:17:03 +08:00
coconut49
2b02400eb8 Refactor proxy_server.py to simplify v1 endpoints and improve logging 2023-10-18 00:35:51 +08:00
Krrish Dholakia
44cafb5bac docs(proxy_server.md): update proxy server docs to include multi-agent autogen tutorial 2023-10-17 09:22:34 -07:00
coconut49
8c0a3473a1 Refactor proxy_server.py for readability and code consistency 2023-10-17 23:48:55 +08:00
coconut49
dd4081733e Refactor start script and Dockerfile, switch to bash entrypoint 2023-10-17 22:53:06 +08:00
Krrish Dholakia
f221eac41a fix(proxy_server): improve error handling 2023-10-16 19:42:53 -07:00
Krrish Dholakia
5894614e89 refactor(proxy_server.py): code cleanup 2023-10-16 16:47:33 -07:00
Krrish Dholakia
7697e3bde6 build: Adds dockerfile for easily building proxy 2023-10-16 15:09:29 -07:00
canada4663
8a68957f6e updated proxy_server.py /models endpoint with the results of get_valid_models() 2023-10-14 20:54:47 -07:00
Krrish Dholakia
5f9dd0b21f bump: version 0.8.4 → 0.8.5 2023-10-14 16:43:06 -07:00
ishaan-jaff
cd0557c053 (feat) add swagger docs to cli config 2023-10-14 12:32:33 -07:00
ishaan-jaff
9f999629cd (feat) proxy_cli cleanup 2023-10-14 12:19:56 -07:00
Krrish Dholakia
5269d0bd5f docs(custom_callback.md): add details on what kwargs are passed to custom callbacks 2023-10-14 11:29:26 -07:00
Krrish Dholakia
bfac8b5a76 docs(proxy_server.md): add logs, save keys, model fallbacks, config file template to proxy server docs 2023-10-14 10:52:01 -07:00
Krrish Dholakia
29877b35b0 fix(proxy_cli.py): fix adding keys flow - let user use --add_key to add new keys 2023-10-13 22:24:58 -07:00
Krrish Dholakia
ec5e7aa4a9 fix(openai.p): adding support for exception mapping for openai-compatible apis via http calls 2023-10-13 21:56:51 -07:00
ishaan-jaff
99b51829b4 (feat) add swagger.json for litellm proxy 2023-10-13 20:41:04 -07:00
Krrish Dholakia
a27e9aaf8d fix(proxy_server): cleaning up print statements 2023-10-13 20:16:31 -07:00
Krrish Dholakia
1afd53f452 fix(proxy_server): fix cors issue 2023-10-13 15:47:28 -07:00