Commit graph

3823 commits

Author SHA1 Message Date
ishaan-jaff
3ee141e1e2 (test) cleanup 2023-11-23 17:09:36 -08:00
Krrish Dholakia
abe2a009f9 test(test_completion.py): fix azure read from env variable test 2023-11-23 16:58:07 -08:00
ishaan-jaff
60dab0d700 (test) router: azure pass key in model list 2023-11-23 16:51:52 -08:00
ishaan-jaff
f7a5b31b96 (test) azure test passing key as completion param 2023-11-23 16:51:52 -08:00
Krrish Dholakia
dc17f63d0b fix(router.py): fix linting errors 2023-11-23 16:50:19 -08:00
Krrish Dholakia
bfaed56ffb fix(main.py): only set api key to dynamic api key if it's not none 2023-11-23 16:45:44 -08:00
Krrish Dholakia
c273d6f0d6 fix(router.py): add support for context window fallbacks on router 2023-11-23 16:43:02 -08:00
ishaan-jaff
a1bb880872 (test) router raise exceptions 2023-11-23 16:28:19 -08:00
ishaan-jaff
f01865e960 (fix) router 2023-11-23 16:28:19 -08:00
ishaan-jaff
43ae3b94fa (fix) debugging: viewing raw POST request 2023-11-23 16:28:19 -08:00
Krrish Dholakia
afac42e93a fix(router.py): enable async completions with model fallbacks 2023-11-23 16:15:57 -08:00
ishaan-jaff
9b53ea4b0f (feat) proxy: cost tracking per completion request 2023-11-23 16:08:59 -08:00
ishaan-jaff
1365092c89 (test) router: ensure errors are raised 2023-11-23 16:08:59 -08:00
ishaan-jaff
37dedeee04 (fix) debugging: POST request 2023-11-23 16:08:59 -08:00
ishaan-jaff
e8b844abae (fix) azure: better debugging 2023-11-23 16:08:59 -08:00
ishaan-jaff
525e01824a (test) ensure exception raised when incorrect key passed 2023-11-23 16:08:59 -08:00
Krrish Dholakia
8ac03e492f fix(router.py): enable fallbacks for sync completions 2023-11-23 16:06:46 -08:00
ishaan-jaff
bb00595429 (feat) cost: azure gpt + testing 2023-11-23 14:20:48 -08:00
ishaan-jaff
90a9116a17 (test) strict test ft:gpt-3.5 cost calc 2023-11-23 14:11:01 -08:00
ishaan-jaff
46fc8be4c8 (feat) cost tracking ft:gpt-3.5-turbo 2023-11-23 13:58:59 -08:00
ishaan-jaff
da7c07574f (test) cost calc on azure 2023-11-23 13:50:09 -08:00
ishaan-jaff
5408a40cc8 (feat) cost calc: add azure cost tracking 2023-11-23 13:50:09 -08:00
Krrish Dholakia
c074023e14 fix: fix linting issues 2023-11-23 13:47:43 -08:00
Krrish Dholakia
4f183dc6a0 fix(utils.py): support reading api keys dynamically from the os environment 2023-11-23 13:41:56 -08:00
Krrish Dholakia
87aa36a2ec fix(caching.py): fix linting issues 2023-11-23 13:21:45 -08:00
Krrish Dholakia
b10102c285 bump: version 1.5.0 → 1.6.0 2023-11-23 13:21:45 -08:00
Krrish Dholakia
8c4e8d6c62 feat(proxy_server.py): add in-memory caching for user api keys 2023-11-23 13:21:45 -08:00
ishaan-jaff
8291f239a4 (feat) proxy server: add spend column 2023-11-23 11:46:59 -08:00
ishaan-jaff
65d978622d (docs) proxy 2023-11-23 11:46:59 -08:00
Ishaan Jaff
ed17e04bc2
Update README.md 2023-11-23 11:39:39 -08:00
Krrish Dholakia
276041e3bb docs(routing.md): updating routing docs to include cooldown info 2023-11-23 11:27:22 -08:00
ishaan-jaff
2c50ea94c8 (test) embedding: azurea - dd response_ms 2023-11-23 11:15:52 -08:00
Krrish Dholakia
61fc76a8c4 fix(router.py): fix caching for tracking cooldowns + usage 2023-11-23 11:13:32 -08:00
ishaan-jaff
94c1d71b2c (docs) proxy server 2023-11-23 11:13:26 -08:00
ishaan-jaff
28a192df3a (docs) simple proxy 2023-11-23 11:10:50 -08:00
ishaan-jaff
9d3d10da4c (Feat) update config.yaml example on proxy 2023-11-23 10:54:30 -08:00
ishaan-jaff
1dcab433b4 (feat) proxy: caching - show redis settings when initializing 2023-11-23 10:52:50 -08:00
ishaan-jaff
71042ee345 (docs) caching 2023-11-23 10:40:32 -08:00
Krish Dholakia
2fb94b4cc3
Merge pull request #882 from Manouchehri/docker-cleanup-1
Improve Dockerfile
2023-11-23 10:38:45 -08:00
Krish Dholakia
da12c13c5a
Merge pull request #881 from Manouchehri/lambda-1
Add AWS Lambda Support
2023-11-23 10:38:34 -08:00
ishaan-jaff
efe6fb8831 (docs) proxy server caching 2023-11-23 10:35:34 -08:00
ishaan-jaff
ae3eeb16ab (feat) proxy: add curl command test + read cache config 2023-11-23 10:31:04 -08:00
Krish Dholakia
dbd5f2b3cc
Update README.md 2023-11-23 10:03:14 -08:00
ishaan-jaff
fbd2ab4c71 (test) caching ensure we always test add/get caching redis 2023-11-23 08:27:44 -08:00
ishaan-jaff
b15b723567 (docs) proxy server: add caching 2023-11-23 08:08:12 -08:00
ishaan-jaff
44e867499f (docs) proxy 2023-11-23 07:55:12 -08:00
Krish Dholakia
6ba4eeb961
Merge pull request #885 from Codium-ai/bugfix/hf_timeout
Do not timeout when calling HF through acomplete
2023-11-23 07:48:59 -08:00
Krish Dholakia
c51bfc686b
Merge pull request #884 from maqsoodshaik/main
this commit fixes #883
2023-11-23 07:47:28 -08:00
Ori Kotek
e74ac03169
Do not timeout when calling HF through acomplete 2023-11-23 15:56:59 +02:00
maqsoodshaik
0f89c3375a this commit fixes #883 2023-11-23 12:45:38 +01:00