Commit graph

13966 commits

Author SHA1 Message Date
Ishaan Jaff
e2046bd59c feat - laker return orig response from lakera api 2024-06-28 16:13:44 -07:00
Krrish Dholakia
c151a1d244 fix(http_handler.py): raise more detailed http status errors 2024-06-28 15:12:38 -07:00
Krrish Dholakia
0001683036 fix(cost_calculator.py): handle unexpected error in cost_calculator.py 2024-06-28 14:53:00 -07:00
Krrish Dholakia
224148d613 docs(anthropic.md): add claude-3-5-sonnet example to docs 2024-06-28 11:00:36 -07:00
Krrish Dholakia
aa6f7665c4 fix(router.py): only return 'max_tokens', 'input_cost_per_token', etc. in 'get_router_model_info' if base_model is set 2024-06-28 10:45:31 -07:00
Krrish Dholakia
a7122f91a1 fix(support-'alt=sse'-param): Fixes https://github.com/BerriAI/litellm/issues/4459 2024-06-28 10:40:47 -07:00
Ishaan Jaff
2bd8205ef5
Merge pull request #4457 from lnguyen/patch-1
Fix typo
2024-06-28 09:49:34 -07:00
Ishaan Jaff
ec07c3fb13
Merge pull request #4460 from nibalizer/nibz/minor_link_reparis
docs: minor link repairs
2024-06-28 09:44:24 -07:00
Spencer Krum
dee900e54d docs: minor link repairs 2024-06-28 11:38:41 -05:00
Long Nguyen
37e64f7a17
Fix typo 2024-06-28 08:36:07 -04:00
Krrish Dholakia
6b14cf7657 fix(vertex_httpx.py): only use credential project id, if user project id not given 2024-06-27 22:08:14 -07:00
Krrish Dholakia
3169ec5660 docs(text_to_speech.md): add azure tts to docs 2024-06-27 22:04:23 -07:00
Krrish Dholakia
0b07dd5004 bump: version 1.40.30 → 1.40.31 2024-06-27 22:00:45 -07:00
Krrish Dholakia
8b1bd749ff build(model_prices_and_context_window.json): update gemini-1.5-pro max input tokens 2024-06-27 21:58:54 -07:00
Krish Dholakia
7b54c9d5bc
Merge pull request #4446 from BerriAI/litellm_get_max_modified_tokens
fix(token_counter.py): New `get_modified_max_tokens' helper func
2024-06-27 21:43:23 -07:00
Krish Dholakia
1223b2b111
Merge pull request #4449 from BerriAI/litellm_azure_tts
feat(azure.py): azure tts support
2024-06-27 21:33:38 -07:00
Krish Dholakia
efee284023
Merge pull request #4436 from BerriAI/litellm_response_cost_headers
fix(utils.py): return 'response_cost' in completion call
2024-06-27 21:33:23 -07:00
Krish Dholakia
869275585a
Merge branch 'main' into litellm_response_cost_headers 2024-06-27 21:33:09 -07:00
Krish Dholakia
6f030043e6
Merge pull request #4445 from ushuz/fix-google-creds
fix: do not resolve vertex project id from creds
2024-06-27 21:31:59 -07:00
Ishaan Jaff
58a90833fc bump: version 1.40.29 → 1.40.30 2024-06-27 21:26:40 -07:00
Ishaan Jaff
f4521af1fd
Merge pull request #4366 from BerriAI/litellm_fix_in_mem_usage
[Fix-Proxy] Fix in memory caching memory leak
2024-06-27 21:12:14 -07:00
Ishaan Jaff
3bcf9dd9fb
Merge branch 'main' into litellm_fix_in_mem_usage 2024-06-27 21:12:06 -07:00
Ishaan Jaff
413877d1c6 fix pre call utils adding extra headers 2024-06-27 21:03:36 -07:00
Ishaan Jaff
511dd18e4b remove debug print statement 2024-06-27 20:58:29 -07:00
Ishaan Jaff
e776ac8ffc ci/cd run again 2024-06-27 20:25:09 -07:00
Ishaan Jaff
e82b321044 test fix secret detection 2024-06-27 20:20:47 -07:00
Ishaan Jaff
4cffcb5f28 fix error message on v2/model info 2024-06-27 20:20:47 -07:00
Ishaan Jaff
3faf668ac2 fix secret scanner 2024-06-27 20:20:46 -07:00
Ishaan Jaff
1ed2b008f1 add stricter secret detection 2024-06-27 20:20:46 -07:00
Ishaan Jaff
32bd8c0b0e feat - improve secret detection 2024-06-27 20:20:46 -07:00
Ishaan Jaff
758304f5c5 test - test_chat_completion_request_with_redaction 2024-06-27 20:20:46 -07:00
Ishaan Jaff
9b98269f59 fix secret redaction logic 2024-06-27 20:20:46 -07:00
Ishaan Jaff
28109faaff fix raise better error message on reaching failed vertex import 2024-06-27 20:20:46 -07:00
Ishaan Jaff
b95dd09a3f docs - fix model name on claude-3-5-sonnet-20240620 anthropic 2024-06-27 20:20:46 -07:00
Daniel Liden
01a6077ca5 undoes changes to proxy yaml api key/base 2024-06-27 20:20:46 -07:00
Daniel Liden
50bafd7af6 Update databricks.md
fixes a couple of examples to use correct endpoints/point to correct models
2024-06-27 20:20:46 -07:00
Daniel Liden
a975486df0 Update databricks.md
updates some references to predibase to refer to Databricks
2024-06-27 20:20:46 -07:00
Krrish Dholakia
77b78f6630 bump: version 1.40.28 → 1.40.29 2024-06-27 20:20:46 -07:00
Krrish Dholakia
345e0dfa8f fix(utils.py): handle arguments being None
Fixes https://github.com/BerriAI/litellm/issues/4440
2024-06-27 20:20:46 -07:00
Krrish Dholakia
6efe247708 fix(utils.py): add new special token for cleanup 2024-06-27 20:20:46 -07:00
Krrish Dholakia
8142891a5c docs(openai_compatible.md): doc on disabling system messages 2024-06-27 20:20:46 -07:00
Ishaan Jaff
c4f68851c0 ci/cd run again 2024-06-27 20:20:46 -07:00
Ishaan Jaff
b29b3fb3f4 bump: version 1.40.27 → 1.40.28 2024-06-27 20:20:46 -07:00
Ishaan Jaff
7f0c776246 fix gemini test 2024-06-27 20:20:46 -07:00
Ishaan Jaff
c27bfd76b6 vertex testing 2024-06-27 20:20:46 -07:00
Ishaan Jaff
76490690a1 add codechat-bison@latest 2024-06-27 20:20:46 -07:00
Ishaan Jaff
c9a27f9d9e add code-gecko-latest 2024-06-27 20:20:46 -07:00
Ishaan Jaff
d30ce40768 add code-bison 2024-06-27 20:20:46 -07:00
Ishaan Jaff
69b70121ef add chat-bison-32k@002 2024-06-27 20:20:46 -07:00
Ishaan Jaff
9441f75656 add vertex text-bison 2024-06-27 20:20:46 -07:00