Commit graph

1265 commits

Author SHA1 Message Date
ishaan-jaff
feb814a76e bump openai version 2023-09-13 11:09:21 -07:00
Krish Dholakia
43cdd053a6
Update model_prices_and_context_window.json 2023-09-13 10:57:27 -07:00
Krrish Dholakia
b1fbe515fe return model name as part of streaming object 2023-09-13 09:48:49 -07:00
Krish Dholakia
988244878f
Create config.yml 2023-09-13 07:46:12 -07:00
Krish Dholakia
275ff3cc0b
Update and rename feature_request.md to feature_request.yml 2023-09-13 07:42:52 -07:00
Krish Dholakia
75e8744f8a
Update and rename bug_report.md to bug_report.yml 2023-09-13 07:38:10 -07:00
Krrish Dholakia
041817124f fix testing 2023-09-12 22:03:51 -07:00
ishaan-jaff
c7ade5c2da docs update 2023-09-12 20:55:20 -07:00
ishaan-jaff
17047ca049 add notebook on using litellm budget manager 2023-09-12 20:53:55 -07:00
Krrish Dholakia
74b4eab848 update docs 2023-09-12 20:26:41 -07:00
Krrish Dholakia
2a555eddfa update budget manager docs 2023-09-12 20:25:59 -07:00
Krrish Dholakia
27f1051792 fix testing for budget manager 2023-09-12 16:11:51 -07:00
Ishaan Jaff
7b90ca4d00
Merge pull request #348 from jordanbtucker/code-language
docs: add languages to code blocks
2023-09-12 14:00:39 -07:00
Jordan Tucker
ee618444c9 docs: add languages to code blocks 2023-09-12 15:02:11 -05:00
Krrish Dholakia
e1c91903da add reset budget on duration end to budget manager 2023-09-12 13:01:55 -07:00
Krrish Dholakia
e80457013b doc cleanup for custom prompt templates 2023-09-12 12:16:47 -07:00
ishaan-jaff
e6d48d91ce bump version + check_valid_key 2023-09-12 11:56:04 -07:00
ishaan-jaff
e3fa1d686e remove verify_access_key from main 2023-09-12 11:50:30 -07:00
ishaan-jaff
33f0da2d69 update testing key 2023-09-12 11:50:30 -07:00
ishaan-jaff
8b60440b4b update check_valid_key 2023-09-12 11:50:30 -07:00
Krrish Dholakia
05f2f3dde7 fix get llm provider 2023-09-12 11:48:44 -07:00
ishaan-jaff
ff36b9c6da add test_valid_key to utils 2023-09-12 11:45:55 -07:00
Ishaan Jaff
c30acc67b3
Merge pull request #346 from WilliamEspegren/main
util: verify_access_key
2023-09-12 11:44:49 -07:00
Ishaan Jaff
60e3e42fba
Merge branch 'main' into main 2023-09-12 11:43:03 -07:00
Krrish Dholakia
c5df95c560 fix linting error 2023-09-12 11:38:00 -07:00
ishaan-jaff
4d253f45d8 fix linting error 2023-09-12 11:36:20 -07:00
ishaan-jaff
a48cb49820 add test for test_get_valid_models 2023-09-12 11:29:18 -07:00
ishaan-jaff
57f15b379d add valid models in utils.py 2023-09-12 11:29:18 -07:00
Krrish Dholakia
baa69734b0 raise better exception if llm provider isn't passed in or inferred 2023-09-12 11:28:50 -07:00
ishaan-jaff
4acca3d4d9 docs 2023-09-12 10:39:00 -07:00
ishaan-jaff
0ffcf51445 fix azure logging 2023-09-12 10:35:47 -07:00
ishaan-jaff
0f89636b47 use api_version for azure completion call 2023-09-12 10:35:24 -07:00
ishaan-jaff
0c6999885c docs 2023-09-12 10:31:37 -07:00
ishaan-jaff
2d09f2a373 docs 2023-09-12 10:28:44 -07:00
ishaan-jaff
fdf0dd0d11 docs 2023-09-12 10:23:10 -07:00
ishaan-jaff
e46dab5e92 docs 2023-09-12 10:07:40 -07:00
William Espegren
b26933301d
renamed and added test_good_key() 2023-09-12 19:02:55 +02:00
ishaan-jaff
e5cd21d64b docs update 2023-09-12 10:00:13 -07:00
William Espegren
1b51016680
Raise exception if bad key is not detected 2023-09-12 18:51:50 +02:00
William Espegren
261db15bcf
util: verify_access_key
Verify that the user provided a valid openai token by creating a request to the openAI endpoint.
2023-09-12 18:48:23 +02:00
Krish Dholakia
c3ed7e2b29
Merge pull request #338 from Superflows-AI/fix-proxy-railway-deploy
Fix proxy server railway deployment
2023-09-12 06:07:49 -07:00
henry-pulver
fd930e5929 Fix proxy server railway deployment
On Railway you need to use the PORT env var for the port
2023-09-12 12:12:11 +01:00
ishaan-jaff
738a3b9a8a bump version to litellm 2023-09-11 18:56:06 -07:00
ishaan-jaff
dda87a55ff rename safe_messages to trim_messages 2023-09-11 18:54:18 -07:00
ishaan-jaff
7d41e701a6 docs 2023-09-11 18:46:01 -07:00
ishaan-jaff
5cc735a3b0 docs update 2023-09-11 18:42:44 -07:00
ishaan-jaff
3ccbe1ebbf docs fix 2023-09-11 18:40:32 -07:00
Krrish Dholakia
8d517f84c9 completion test cleanup 2023-09-11 18:39:16 -07:00
Krrish Dholakia
bab36c2c6f work for hf inference endpoint 2023-09-11 18:37:55 -07:00
Krrish Dholakia
f946f61b4c improvements to exception mapping 2023-09-11 18:33:57 -07:00