Commit Graph

34378 Commits

Author SHA1 Message Date
Krrish Dholakia
b4de834b36 test: skip watsonx tests - account closed 2024-06-17 19:22:33 -07:00
Ishaan Jaff
4a75e57b6f fix logfire 2024-06-17 19:21:35 -07:00
Ishaan Jaff
253b504199 fix - otel fixes 2024-06-17 19:15:14 -07:00
Krrish Dholakia
fca2ffb480 fix(utils.py): return cost above 128k from get_model_info 2024-06-17 19:15:02 -07:00
Krrish Dholakia
b1775068e8 build(config.yml): fix config 2024-06-17 19:09:29 -07:00
Krrish Dholakia
27e13b66bc ci(config.yml): update config 2024-06-17 19:00:58 -07:00
Krrish Dholakia
4cddd1eb31 fix(_logging.py): add loglevel and timestamp to json logs
Fixes https://github.com/BerriAI/litellm/issues/4248
2024-06-17 18:57:20 -07:00
Krrish Dholakia
4f32bca8d9 fix(main.py): fix import 2024-06-17 18:50:16 -07:00
Krrish Dholakia
63a6ae9d55 build(pyproject.toml): fix ijson 2024-06-17 18:48:34 -07:00
Krrish Dholakia
469fdc0fc6 fix(proxy/_types.py): allow internal user to access sso routes 2024-06-17 18:34:37 -07:00
Krish Dholakia
48a0635a37
Merge pull request #4182 from UsableMachines/fix-type-uppercase
Fix file type handling of uppercase extensions
2024-06-17 17:54:20 -07:00
nick-rackauckas
9215ce583f File type unit tests 2024-06-17 17:50:05 -07:00
Krrish Dholakia
1d2f1b0bb9 ci(config.yml): update config.yml 2024-06-17 17:41:56 -07:00
Krrish Dholakia
109e0d2f4c ci(config.yml): fix config.yml 2024-06-17 17:40:21 -07:00
Krish Dholakia
e9c92c571c
Merge pull request #4195 from jacquesyvesgl/main
[New Feature] Add mock_tool_calls to `main.py`
2024-06-17 17:38:45 -07:00
Krrish Dholakia
8f09876486 test(test_completion.py): cleanup test 2024-06-17 17:37:15 -07:00
Krrish Dholakia
3d9ef689e7 fix(vertex_httpx.py): check if model supports system messages before sending separately 2024-06-17 17:32:38 -07:00
Ishaan Jaff
b4acd483c4 update logging docs 2024-06-17 17:31:58 -07:00
Krish Dholakia
a80520004e
Merge branch 'main' into litellm_gemini_refactoring 2024-06-17 17:28:50 -07:00
Krish Dholakia
aee1d8b0e8
Merge pull request #4244 from ushuz/patch-1
[SECURITY] `/model/info`: strip out llm credential before returning
2024-06-17 17:28:14 -07:00
Krrish Dholakia
a117f1c66a build(model_prices_and_context_window.json): add basic 'gemini-1.5-flash' to google ai studio pricing 2024-06-17 17:24:06 -07:00
Ishaan Jaff
18f1a42c5a fix - refactor logfire 2024-06-17 17:21:43 -07:00
Krrish Dholakia
61d0040185 build(model_prices_and_context_window.json): add gemini system messages 2024-06-17 16:57:44 -07:00
Krrish Dholakia
377f8b77c0 docs(gemini.py): add refactor note to code
\
2024-06-17 16:51:19 -07:00
Ishaan Jaff
6de6bc35a6 docs - codestral 2024-06-17 16:46:46 -07:00
Ishaan Jaff
be9ff170ed
Merge pull request #4253 from BerriAI/dependabot/npm_and_yarn/docs/my-website/sharp-0.32.6
build(deps): bump sharp from 0.30.7 to 0.32.6 in /docs/my-website
2024-06-17 16:36:50 -07:00
Ishaan Jaff
fc23399b6f
Merge pull request #4247 from BerriAI/litellm_add_codestral_fim
[Feat] Add Codestral FIM API
2024-06-17 16:35:47 -07:00
Krish Dholakia
02d9d96141
Merge pull request #4245 from BerriAI/litellm_gemini_pricing_token_counter
VertexAI/Gemini: Calculate cost based on context window
2024-06-17 16:35:23 -07:00
Krrish Dholakia
1b215d704d test: cleanup tests 2024-06-17 16:33:58 -07:00
dependabot[bot]
3d73f99a4e
build(deps): bump sharp from 0.30.7 to 0.32.6 in /docs/my-website
Bumps [sharp](https://github.com/lovell/sharp) from 0.30.7 to 0.32.6.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.30.7...v0.32.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 23:32:32 +00:00
Ishaan Jaff
11fad066d5
Merge pull request #4252 from BerriAI/dependabot/npm_and_yarn/docs/my-website/ws-7.5.10
build(deps): bump ws from 7.5.9 to 7.5.10 in /docs/my-website
2024-06-17 16:27:38 -07:00
Ishaan Jaff
13bd7e8127 docs - "codestral/codestral-latest" 2024-06-17 16:27:17 -07:00
Krrish Dholakia
57d9479252 build(config.yml): add ijson to ci/cd 2024-06-17 16:26:10 -07:00
Krrish Dholakia
d48f9e258e test(test_completion.py): skip watson tests (account removed) 2024-06-17 16:21:49 -07:00
dependabot[bot]
c94860c553
build(deps): bump ws from 7.5.9 to 7.5.10 in /docs/my-website
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.9...7.5.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 23:17:49 +00:00
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