Commit Graph

23118 Commits

Author SHA1 Message Date
Krrish Dholakia
68bd05ac24 fix(base_invoke_transformation.py): support extra_headers on bedrock invoke route
Fixes https://github.com/BerriAI/litellm/issues/9106
2025-03-10 16:13:11 -07:00
Ishaan Jaff
03a91fe066
Merge pull request #7736 from santibreo/main
(docs) Update vertex.md old code example
2025-03-10 16:12:10 -07:00
Ishaan Jaff
94667e1cf0
Merge pull request #8386 from minwhoo/triton-completions-streaming-fix
Fix triton streaming completions bug
2025-03-10 16:07:19 -07:00
Ishaan Jaff
398020a750
Merge pull request #8757 from mounta11n/fix-numbers
Update model_prices_and_context_window.json
2025-03-10 16:00:37 -07:00
Krrish Dholakia
bfbe26b91d feat(azure.py): add azure bad request error support 2025-03-10 15:59:06 -07:00
Ishaan Jaff
ea058ab4ea
Merge pull request #8746 from niinpatel/patch-1
fix missing comma
2025-03-10 15:57:32 -07:00
Ishaan Jaff
929f3424dc
Merge pull request #8845 from vivek-athina/main
Added tags, user_feedback and model_options to additional_keys which can be sent to athina
2025-03-10 15:53:55 -07:00
Ishaan Jaff
a4f047897e
Merge pull request #9110 from BerriAI/litellm_add_contributor_docs
(Docs) - Contributing to litellm
2025-03-10 15:51:02 -07:00
Ishaan Jaff
8198bc2862 Pre-Submission checklist 2025-03-10 15:49:18 -07:00
Ishaan Jaff
856ed0e1fd docs contributing 2025-03-10 15:45:22 -07:00
Ishaan Jaff
a4b87401d5 docs contributing to litellm 2025-03-10 15:43:53 -07:00
Krrish Dholakia
f688fc8138 feat(proxy_server.py): check code before defaulting to status code 2025-03-10 15:34:06 -07:00
Krrish Dholakia
5f87dc229a feat(openai.py): bubble all error information back to client 2025-03-10 15:27:43 -07:00
Krrish Dholakia
c1ec82fbd5 refactor: instrument body param to bubble up on exception 2025-03-10 15:21:04 -07:00
Sunny Wan
1b611477f2 removed supported models from docs 2025-03-10 18:03:17 -04:00
Utkash Dubey
e5fefe5105
Update model_prices_and_context_window.json 2025-03-10 14:53:27 -07:00
Utkash Dubey
495b3dc026 feedback 2025-03-10 14:52:30 -07:00
Ishaan Jaff
c1a3cb82a9 docs on contributing 2025-03-10 14:49:27 -07:00
Utkash Dubey
c7a04140e9 Revert "changes"
This reverts commit fa88bc9632.
2025-03-10 14:46:21 -07:00
Utkash Dubey
1f17daf52c
Merge branch 'BerriAI:main' into main 2025-03-10 14:42:30 -07:00
William Kearns
16f614c7a0
add bedrock deepseek r1 model pricing 2025-03-10 14:29:17 -07:00
Ishaan Jaff
5b2e8a5006
Merge pull request #8948 from colesmcintosh/main
build: Add Makefile for LiteLLM project with test targets
2025-03-10 14:27:07 -07:00
Ishaan Jaff
a0b4cc43bf
Merge pull request #9107 from BerriAI/litellm_add_contributing_guide
(docs) add section for contributing to litellm
2025-03-10 14:21:30 -07:00
Ishaan Jaff
b768ebb426 docs contributing section 2025-03-10 14:19:08 -07:00
Ishaan Jaff
4261df3e4f
Merge pull request #9014 from BerriAI/dependabot/pip/jinja2-3.1.6
build(deps): bump jinja2 from 3.1.4 to 3.1.6
2025-03-10 14:00:02 -07:00
Ishaan Jaff
0fcce63852
Merge pull request #9032 from themrzmaster/feat/jamba_1.6
pricing for jamba new models
2025-03-10 13:59:37 -07:00
Ishaan Jaff
7319fef29d fix linting error 2025-03-10 13:57:50 -07:00
Ishaan Jaff
05ad7a67a7 Revert "ui new build"
This reverts commit 34694d3057.
2025-03-10 13:56:10 -07:00
Ishaan Jaff
34694d3057 ui new build 2025-03-10 12:32:18 -07:00
Ishaan Jaff
e64b8a8baa ui linting fix 2025-03-10 12:31:32 -07:00
Ishaan Jaff
d0cda56c99 ui linting fixes #2 2025-03-10 12:31:27 -07:00
Ishaan Jaff
24a8dfd540 ui fix linting errors 2025-03-10 12:31:22 -07:00
Ishaan Jaff
629ce6c19a fix linting error 2025-03-10 12:31:13 -07:00
Ishaan Jaff
c5606c06ae ui linting fix 2025-03-10 12:30:37 -07:00
Ishaan Jaff
618335a7d9 ui linting fixes #2 2025-03-10 12:25:57 -07:00
Ishaan Jaff
49ad10f621 ui fix linting errors 2025-03-10 12:23:33 -07:00
Ishaan Jaff
574f7b1dcc fix linting error 2025-03-10 12:20:37 -07:00
Ishaan Jaff
51f074682f show eu api base on openai + text 2025-03-10 10:40:48 -07:00
Ishaan Jaff
6d537aec48 OpenAI_Text 2025-03-10 10:36:50 -07:00
Ishaan Jaff
666690c31c fix atext_completion 2025-03-10 10:18:03 -07:00
Ishaan Jaff
60d3cb10bc openweb tutorial 2025-03-10 08:10:07 -07:00
omrishiv
0674491386
add support for Amazon Nova Canvas model (#7838)
* add initial support for Amazon Nova Canvas model

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* adjust name to AmazonNovaCanvas and map function variables to config

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* tighten model name check

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* fix quality mapping

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* add premium quality in config

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* support all Amazon Nova Canvas tasks

* remove unused import

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* add tests for image generation tasks and fix payload

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* add missing util file

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* update model prices backup file

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

* remove image tasks other than text->image

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>

---------

Signed-off-by: omrishiv <327609+omrishiv@users.noreply.github.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
2025-03-10 08:02:00 -07:00
vivek-athina
cd4a53d6f2
Merge pull request #4 from BerriAI/main
Update main
2025-03-10 11:13:21 +05:30
Krrish Dholakia
0fa3ec98ab bump: version 1.63.4 → 1.63.5 2025-03-09 20:47:51 -07:00
Krrish Dholakia
574f5056c8 fix(utils.py): fix linting error 2025-03-09 20:47:12 -07:00
Krish Dholakia
f899b828cf
Support openrouter reasoning_content on streaming (#9094)
* feat(convert_dict_to_response.py): support openrouter format of reasoning content

* fix(transformation.py): fix openrouter streaming with reasoning content

Fixes https://github.com/BerriAI/litellm/issues/8193#issuecomment-270892962

* fix: fix type error
2025-03-09 20:03:59 -07:00
5aaee9
42b7921ca1
fix: perplexity return both delta and message cause OpenWebUI repect text (#9081) 2025-03-09 19:46:31 -07:00
Krrish Dholakia
c08705517b test: fix test 2025-03-09 19:40:03 -07:00
Krish Dholakia
65ef65d360
feat: prioritize api_key over tenant_id for more Azure AD token provi… (#8701)
* feat: prioritize api_key over tenant_id for more Azure AD token provider (#8318)

* fix: prioritize api_key over tenant_id for Azure AD token provider

* test: Add test for Azure AD token provider in router

* fix: fix linting error

---------

Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
2025-03-09 18:59:37 -07:00
Krrish Dholakia
2c5b2da955 fix: make type object subscriptable 2025-03-09 18:35:10 -07:00