Commit graph

3130 commits

Author SHA1 Message Date
Krish Dholakia
863d6d9f0c Updated config.yml 2023-11-11 19:05:21 -08:00
Krrish Dholakia
45b6f8b853 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia
ae35c13015 refactor(ai21,-aleph-alpha,-ollama): making ai21, aleph-alpha, ollama compatible with openai v1 sdk 2023-11-11 17:49:13 -08:00
Krrish Dholakia
c6ce3fedcd fix(main.py): fix caching for router 2023-11-11 17:45:23 -08:00
Krrish Dholakia
4f42beb9d9 refactor(huggingface,-anthropic,-replicate,-sagemaker): making huggingface, anthropic, replicate, sagemaker compatible openai v1 sdk 2023-11-11 17:38:15 -08:00
Krrish Dholakia
547598a134 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
Krrish Dholakia
39c2597c33 refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia
d0bd932b3c refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Ishaan Jaff
6d815d98fe
Update README.md 2023-11-11 15:41:20 -08:00
Krrish Dholakia
d3323ba637 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -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
b74b051385 (test) tokenizer worked test 2023-11-11 12:13:57 -08:00
ishaan-jaff
ecc6790a23 (docs) fast eval with proxy 2023-11-11 12:08:10 -08:00
ishaan-jaff
b6e6c7bb86 (docs) use fast eval 2023-11-11 12:06:17 -08:00
ishaan-jaff
96bca9a836 (test) try/pass APIError for TG AI 2023-11-11 11:34:15 -08:00
ishaan-jaff
59c76db34e (fix) add APIError to litellm module 2023-11-11 11:33:02 -08:00
ishaan-jaff
d8f735565c (fix) tg ai raise errors on non 200 responses 2023-11-11 11:21:12 -08:00
ishaan-jaff
2104dbdfd4 bump: version 0.14.0 → 0.14.1 2023-11-11 10:36:49 -08:00
ishaan-jaff
96f0a068e6 (test) gpt4 vision 2023-11-11 10:34:37 -08:00
ishaan-jaff
4d67cee135 (fix) completion gpt-4 vision check finish_details or finish_reason 2023-11-11 10:28:20 -08:00
Ishaan Jaff
fd6064b571
Merge pull request #787 from duc-phamh/improve_message_trimming
Improve message trimming
2023-11-11 09:39:43 -08:00
ishaan-jaff
0cee50f66d (docs) openai 2023-11-10 21:00:37 -08:00
ishaan-jaff
9d3a28e391 (test) async_fn with stream 2023-11-10 17:47:15 -08:00
ishaan-jaff
c2c186eb28 (test) add gpt-4 vision 2023-11-10 17:34:40 -08:00
ishaan-jaff
71da9d0d63 (docs) add gpt-4 vision 2023-11-10 17:34:20 -08:00
ishaan-jaff
99395197f7 (feat) add gpt-4-vision-preview 2023-11-10 17:17:07 -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
ishaan-jaff
5da6fb84fa (docs) simple proxy 2023-11-10 15:59:12 -08:00
ishaan-jaff
9b78bbc6ea (fix) ssl changes 2023-11-10 15:57:59 -08:00
ishaan-jaff
f9d4505ea0 (fix) ssl for acompletion with openai 2023-11-10 15:55:04 -08:00
Krrish Dholakia
41c94d50e2 fix(text_completion.py): fix routing logic 2023-11-10 15:46:37 -08:00
Krrish Dholakia
697497cdfa test(test_streaming.py): set cache to none 2023-11-10 15:24:17 -08:00
ishaan-jaff
2c32f4a588 (test) fix caching 2023-11-10 15:23:56 -08:00
Krrish Dholakia
91dc9a34e5 test(test_langfuse.py): add retries to langfuse test 2023-11-10 15:09:21 -08:00
Krrish Dholakia
40edb546dc test(test_streaming.py): set cache to none 2023-11-10 15:04:01 -08:00
Krrish Dholakia
abee5a0e05 fix(utils.py): caching for embedding 2023-11-10 14:33:17 -08:00
ishaan-jaff
5fcf9fc799 (docs) proxy setting default models 2023-11-10 13:06:22 -08:00
ishaan-jaff
ebcd29b1ec (docs) proxy pass headers 2023-11-10 12:59:34 -08:00
ishaan-jaff
9d4cbf1d22 (docs) pass headers in config 2023-11-10 12:56:53 -08:00
ishaan-jaff
af98f74c82 (feat) replicate add exception mapping for streaming + better logging when polling 2023-11-10 12:46:33 -08:00
ishaan-jaff
1c1a260065 (test) replicate with streaming, num retries 2023-11-10 12:46:33 -08:00
ishaan-jaff
49c8c8a74f (fix) streaming replicate 2023-11-10 12:46:33 -08:00
ishaan-jaff
bf2cb91841 (docs) add replicate cold boots info 2023-11-10 12:46:33 -08:00
ishaan-jaff
4c3765119b (fix) replicate print verbose 2023-11-10 12:46:33 -08:00
ishaan-jaff
49c7c851a8 (feat) replicate exception mapping 2023-11-10 12:46:33 -08:00
ishaan-jaff
00e1b46e68 (feat) replicate exception mapping 2023-11-10 12:46:33 -08:00
Krrish Dholakia
62290ec5d9 fix(utils.py): fix exception raised 2023-11-10 11:28:17 -08:00
Krrish Dholakia
18a8bd5543 fix(utils.py): return function call as part of response object 2023-11-10 11:02:10 -08:00
Krrish Dholakia
a4c9e6bd46 fix(utils.py): fix cached responses - translate dict to objects 2023-11-10 10:38:20 -08:00