Commit graph

13528 commits

Author SHA1 Message Date
Ishaan Jaff
032fcb1195
Merge pull request #4251 from BerriAI/dependabot/pip/urllib3-2.2.2
build(deps): bump urllib3 from 2.2.1 to 2.2.2
2024-06-17 16:16:57 -07:00
Ishaan Jaff
866f26ceda ci/cd run again 2024-06-17 16:16:16 -07:00
Krish Dholakia
0cf99c47d4
Merge pull request #4141 from lunary-ai/main
fix: lunary callback tags
2024-06-17 16:13:01 -07:00
Ishaan Jaff
b748c9aa12 docs - code stral api 2024-06-17 16:12:45 -07:00
dependabot[bot]
ee729a5d1d
build(deps): bump urllib3 from 2.2.1 to 2.2.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 23:06:47 +00:00
Krrish Dholakia
a7d39d6bdd build(pyproject.toml): add ijson as a package dep for google ai studio http streaming 2024-06-17 16:04:40 -07:00
Ishaan Jaff
5a28875e77 fix text completion response from codestral 2024-06-17 15:01:26 -07:00
Krrish Dholakia
e92570534c fix(vertex_httpx.py): support async streaming for google ai studio gemini 2024-06-17 14:59:30 -07:00
Ishaan Jaff
5ac8d71177 docs - codestral fim 2024-06-17 14:34:05 -07:00
Ishaan Jaff
2ce032405d test - codestral streaming 2024-06-17 14:17:25 -07:00
Ishaan Jaff
364492297d feat - add fim codestral api 2024-06-17 13:46:03 -07:00
Krrish Dholakia
be66800a98 feat(main.py): initial commit - refactoring google ai studio to just use vertex httpx
Uses the same calling logic for google ai studio/vertex ai. Simplifies logic, gives google ai studio integration all of vertex
ai features.
2024-06-17 13:31:46 -07:00
Ishaan Jaff
ad47fee181 feat add text completion config for mistral text 2024-06-17 12:48:46 -07:00
Krish Dholakia
fcea4c22ad
Merge pull request #4228 from CodeVigilanteOfficial/fix_rce_eval
Update utils.py (fix dangerous code)
2024-06-17 12:43:29 -07:00
Krish Dholakia
2b9e9533b8
Merge pull request #4243 from BerriAI/litellm_gemini_pricing
Add Gemini context window pricing
2024-06-17 12:42:44 -07:00
Krrish Dholakia
f597aa432b feat(cost_calculator.py): add cost calculating for dynamic context window (vertex ai / google ai studio) 2024-06-17 12:38:10 -07:00
John HU
3d16bd6eb8
fix: strip llm credential before returning 2024-06-17 12:14:40 -07:00
Ishaan Jaff
092040afec fix docs build 2024-06-17 11:52:49 -07:00
Ishaan Jaff
5f76f96e4d working chat, text for codestral 2024-06-17 11:30:22 -07:00
Krrish Dholakia
577b90aad8 build(model_prices_and_context_window.json): add vertex ai pricing for dynamic context window 2024-06-17 11:20:34 -07:00
Ishaan Jaff
3ae05c0404 vo - init commit adding codestral API 2024-06-17 11:05:24 -07:00
Krrish Dholakia
19145805dd build(model_prices_and_context_window.json): add gemini pricing based on context window 2024-06-17 11:04:39 -07:00
Krrish Dholakia
b886812787 fix(__init__.py): add gemini models to all model list
Fixes https://github.com/BerriAI/litellm/issues/4240
2024-06-17 10:54:28 -07:00
Krrish Dholakia
2623bb260f fix(litellm_logging.py): fix lago callback logic 2024-06-17 09:10:19 -07:00
Krrish Dholakia
cc066e019a fix(utils.py): don't require httpx.response for azure badrequesterror 2024-06-17 08:51:50 -07:00
Ishaan Jaff
0bb3ad972c
Merge pull request #4223 from BerriAI/litellm_refactor_proxy_2
[Refactor Proxy] - refactor proxy place internal user, customer endpoints in separate file
2024-06-17 08:49:36 -07:00
Krish Dholakia
8bb459fd95
Merge pull request #4226 from Intellegam/main
Langfuse Integration ignore Embedding Output
2024-06-17 08:33:03 -07:00
Krrish Dholakia
7dd0151f83 fix(bedrock.py): support custom prompt templates for all providers
Fixes https://github.com/BerriAI/litellm/issues/4239
2024-06-17 08:28:46 -07:00
Hugues Chocart
722e89b6a2
Merge branch 'BerriAI:main' into main 2024-06-17 11:15:23 -03:00
CodeVigilante
ef87a75f77
Update utils.py
fix dangerous code for this vulnerability https://huntr.com/bounties/ae623c2f-b64b-4245-9ed4-f13a0a5824ce
2024-06-16 22:49:28 +02:00
Hannes Burrichter
27df662164 Fix missing Azure api version in Langfuse create_async_task test 2024-06-16 16:09:35 +02:00
Hannes Burrichter
1b644fa0fc
Merge branch 'BerriAI:main' into main 2024-06-16 15:15:00 +02:00
Hannes Burrichter
d338a94a57 Set Langfuse output to null for embedding responses 2024-06-16 15:14:34 +02:00
Krrish Dholakia
3a35a58859 bump: version 1.40.14 → 1.40.15 2024-06-16 01:09:26 -07:00
Krrish Dholakia
877b37c6de ci(pre-commit-config.yaml): add isort as a pre-commit hook 2024-06-15 16:48:00 -07:00
Ishaan Jaff
b718e7ec79 fix- refactor proxy place internal user endpoints in sep file 2024-06-15 16:39:06 -07:00
Ishaan Jaff
f84941bdc0
Merge pull request #4217 from BerriAI/litellm_refactor_proxy_server
[Refactor-Proxy] Make proxy_server.py < 10K lines (move management, key, endpoints to their own files)
2024-06-15 16:27:31 -07:00
Ishaan Jaff
d8dd0408b0 docs - fix build time issues 2024-06-15 16:12:37 -07:00
Ishaan Jaff
dc72545396 doc - add comment explaining user_api_key_auth file 2024-06-15 16:08:17 -07:00
Ishaan Jaff
eb8b46b445 docs - fix deps 2024-06-15 16:05:32 -07:00
Ishaan Jaff
5746a6b9bf
Merge pull request #4220 from BerriAI/litellm_admin_ui_sign_up_flow
fix - non sso ui sign up flow
2024-06-15 15:55:21 -07:00
Ishaan Jaff
70e3295ead ui - new build 2024-06-15 15:53:46 -07:00
Ishaan Jaff
a0483ac0e5
Merge pull request #4222 from BerriAI/ui_show_exceptions
ui - show exceptions
2024-06-15 15:50:48 -07:00
Ishaan Jaff
5e8b65f1f1 ui - show exceptions 2024-06-15 15:40:49 -07:00
Ishaan Jaff
2f9aa308f1 fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
Ishaan Jaff
ae884f741e fix - non sso ui sign up flow 2024-06-15 15:26:44 -07:00
Krish Dholakia
f2b3770869
Merge pull request #4216 from BerriAI/litellm_refactor_logging
refactor(utils.py): Cut down utils.py to <10k lines.
2024-06-15 15:19:42 -07:00
Ishaan Jaff
0865e26bc0 docs - fix build time errors 2024-06-15 15:11:10 -07:00
Ishaan Jaff
ae86722a8d test proxy server.py 2024-06-15 15:09:49 -07:00
Ishaan Jaff
69a20c94fd docs - fix doc build time errors 2024-06-15 14:58:02 -07:00