Commit graph

4667 commits

Author SHA1 Message Date
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
ishaan-jaff
4d82c81531 (fix) proxy cli tests 2023-11-02 21:14:08 -07:00
ishaan-jaff
104239dbe7 (fix) proxy server - verbose = False always 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
19737f95c5 (feat) proxy add testing for openai.Completion.create 2023-11-01 18:25:13 -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
Krish Dholakia
123c0f41f8
Merge pull request #655 from coconut49/main
Create GitHub Action to automatically build docker images
2023-10-19 21:49:18 -07:00
coconut49
f890aa1db5
Refactor code for better readability and remove unnecessary comments in Dockerfile. 2023-10-20 12:19:56 +08:00
coconut49
be78f2ade9
Move Dockerfile to root and set environment variable for config path 2023-10-20 12:19:29 +08:00
coconut49
52fdfe5819
Improve code formatting and allow configurable litellm config path via environment variable. 2023-10-20 12:19:26 +08:00
coconut49
a9ebf1b6ab
Relocate Dockerfile to litellm/proxy directory. 2023-10-20 12:18:37 +08:00
Krrish Dholakia
04f8840a92 test: fix linting testing 2023-10-19 18:40:33 -07: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
22937b3b16 test(test_proxy.py): adding testing for proxy server 2023-10-17 16:29:11 -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
07f06c6479
Refactor Dockerfile and proxy_cli.py to use new secrets file location 2023-10-18 01:17:03 +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
coconut49
e8a56819cf
Refactor start script and Dockerfile, switch to bash entrypoint 2023-10-17 22:53:06 +08:00
Krrish Dholakia
541a8b7bc8 fix(proxy_server): improve error handling 2023-10-16 19:42:53 -07:00
Krrish Dholakia
5ef054f105 refactor(proxy_server.py): code cleanup 2023-10-16 16:47:33 -07:00
Krrish Dholakia
81373f0678 build: Adds dockerfile for easily building proxy 2023-10-16 15:09:29 -07:00
canada4663
4b52bd955c updated proxy_server.py /models endpoint with the results of get_valid_models() 2023-10-14 20:54:47 -07:00
Krrish Dholakia
7358d2e4ea bump: version 0.8.4 → 0.8.5 2023-10-14 16:43:06 -07:00
ishaan-jaff
a86a140556 (feat) add swagger docs to cli config 2023-10-14 12:32:33 -07:00
ishaan-jaff
b6a015404e (feat) proxy_cli cleanup 2023-10-14 12:19:56 -07:00
Krrish Dholakia
d6f2d9b9bb docs(custom_callback.md): add details on what kwargs are passed to custom callbacks 2023-10-14 11:29:26 -07:00
Krrish Dholakia
fc757dc1b4 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
3210ebfc7a 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
91c8e92e71 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
d28586775a (feat) add swagger.json for litellm proxy 2023-10-13 20:41:04 -07:00