Fabricio Ceschin
118d15c1c6
Improving langfuse usage details unit test
2025-05-21 21:37:23 -04:00
Fabricio Ceschin
f4f89cbae1
Merge branch 'LangfuseUsageDetails' of github.com:fabriciojoc/litellm into LangfuseUsageDetails
2025-05-21 21:24:07 -04:00
Fabricio Ceschin
9d73f1e607
Added unit tests for langfuse usage details integration
2025-05-21 21:23:49 -04:00
Fabrício Ceschin
2a2d6b76f1
Merge branch 'BerriAI:main' into LangfuseUsageDetails
2025-05-21 21:01:06 -04:00
Tyler Wagner
b6508731dc
fix(ui): call tool when no arguments needed ( #11012 )
...
Co-authored-by: wagnerjt <wagnerjt@github.com>
2025-05-21 14:06:22 -07:00
fzowl
73727abd84
Updating the available VoyageAI models in the docs ( #11003 )
...
* Refresh VoyageAI models and prices and context
* Refresh VoyageAI models and prices and context
* Refresh VoyageAI models and prices and context
* Updating the available VoyageAI models in the docs
* Updating the available VoyageAI models in the docs
2025-05-21 14:04:43 -07:00
Ishaan Jaff
e5d278c454
[Feat] Add Image Edits Support to LiteLLM ( #11020 )
...
* refactor: use 1 file for image methods
* refactor: use 1 file for image methods
* feat: add stubs for image edits
* fix: types for image edits
* feat: add async image edits
* feat: add base config for image edits
* feat: add basic structure for image edits
* feat: add ImageEditRequestUtils
* feat: complete instrumentation of image edits
* tes: test_openai_image_edit_litellm_sdk
* tets: test_openai_image_edit_litellm_sdk
* feat: get_provider_image_edit_config
* feat: add OpenAIImageEditConfig
* feat: working image edits
* fixes: working image edits
* fix: code qa
* fix: using image edits
* fix: linting errors
2025-05-21 14:03:09 -07:00
Ishaan Jaff
089e13b452
feat: add xai/grok-3 pricing ( #11028 )
2025-05-21 14:00:55 -07:00
tanjiro
9b0e1bb16c
put organization and team buttons at the top ( #10948 )
2025-05-21 12:59:14 -07:00
Krrish Dholakia
e156636b8e
fix(streaming_handler.py): fix check when response id already set
2025-05-21 12:30:28 -07:00
Krrish Dholakia
647c473971
fix: fix linting error
2025-05-21 12:22:40 -07:00
Fabricio Ceschin
bd0369dd88
Using typed dict in usage_details
2025-05-21 13:35:21 -04:00
Fabricio Ceschin
a3614e0d07
Merge branch 'main' into LangfuseUsageDetails
2025-05-21 13:02:03 -04:00
tanjiro
de5ec3fd9a
spend rounded to 4 ( #11013 )
2025-05-21 09:55:44 -07:00
Matthias Dittrich
3322b282f8
Ollama wildcard support ( #10982 )
...
* Add Ollama wildcard support
* Add Ollama-chatas well.
* Fix missing methods.
* Improve logs a bit.
* Add tests
* Add tests
2025-05-21 08:47:01 -07:00
Krrish Dholakia
2ced944bbe
fix(internal_user_endpoints.py): fix check
2025-05-21 08:37:31 -07:00
Fabricio Ceschin
90c54d688a
Fixing lint errors with LangfuseUsageDetails again
2025-05-21 11:03:14 -04:00
Søren Mathiasen
aa11ea3a9f
support vertex_ai global endpoints for chat ( #10658 )
2025-05-21 07:58:36 -07:00
Fabricio Ceschin
a30fd5c2ad
Fixing lint errors with LangfuseUsageDetails
2025-05-21 10:51:59 -04:00
Fabricio Ceschin
d47ad69a1b
Added typed dict for LangfuseUsageDetails
2025-05-21 10:43:08 -04:00
daarko10
00a789440d
Improve response_id propagation logic and add tests for valid/empty ID handling in streaming. ( #11006 )
2025-05-21 07:27:17 -07:00
Krrish Dholakia
95fd281a7d
bump: version 1.70.2 → 1.70.3
2025-05-20 23:10:44 -07:00
Krish Dholakia
4bd64c872a
fix(internal_user_endpoints.py): allow resetting spend/max budget on … ( #10993 )
...
* fix(internal_user_endpoints.py): allow resetting spend/max budget on user update
Fixes https://github.com/BerriAI/litellm/issues/10495
* fix(internal_user_endpoints.py): correctly return set spend for user on /user/new
* fix(auth_checks.py): check redis for key object before checking in-memory
allows for quicker updates
* feat(internal_user_endpoints.py): update cache object when user is updated + check redis on user values being updated
* fix(auth_checks.py): use redis cache when user updated
* fix: set default value of 'expires' to None
2025-05-20 23:08:26 -07:00
Ishaan Jaff
bf97d994b5
fix: default role for JWT authentication ( #10995 )
...
* fix: get_user_object
* test: test_default_internal_user_params_with_get_user_object
* Update litellm/proxy/auth/auth_checks.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-20 22:58:41 -07:00
Ishaan Jaff
14321a2708
[Feat] Prometheus - Track route on proxy_* metrics ( #10992 )
...
* fix: trace route on prometheus metrics
* fix: show route on prometheus metrics for total fails
* test: trace route on metrics
* fix: tests for route in prom metrics
* test: fix test metrics
* test: fix test_proxy_failure_metrics
2025-05-20 22:55:55 -07:00
Krish Dholakia
aeb9ea0a7f
Litellm add new gemini models ( #10998 )
...
* build(model_prices_and_context_window.json): add new gemini image gen model
* build(model_prices_and_context_window.json): add more gemini models
2025-05-20 22:54:15 -07:00
Krish Dholakia
f0c8254665
Add new gemini preview models + Fix cohere v2 embedding 'embedding_types' param mapping ( #10991 )
...
* build(model_prices_and_context_window.json): add new gemini preview models
Fixes https://github.com/BerriAI/litellm/issues/10985
* fix(cohere/embed): Fix encoding format <-> embedding types param mapping
Fixes https://github.com/BerriAI/litellm/issues/10939
* fix(aim.py): fix syntax error
2025-05-20 22:39:31 -07:00
Fabrício Ceschin
8f785e9a1f
Merge branch 'BerriAI:main' into LangfuseUsageDetails
2025-05-21 00:05:16 -04:00
Jugal D. Bhatt
195aec5551
added support to credential delete to support slashes in the curl ( #10987 )
...
* added support to credential delete to support slashes in the curl
* add support for get and update too
2025-05-20 19:08:48 -07:00
Ishaan Jaff
3a6802fef1
[Feat] - Add Support for Showing Passthrough endpoint Error Logs on LiteLLM UI ( #10990 )
...
* fix: add error logging for passthrough endpoints
* feat: add error logging for passthrough endpoints
* fix: post_call_failure_hook track errors on pt
* fix: use constant for MAXIMUM_TRACEBACK_LINES_TO_LOG
* docs MAXIMUM_TRACEBACK_LINES_TO_LOG
* test: ensure failure callback triggered
* fix: move _init_kwargs_for_pass_through_endpoint
2025-05-20 18:29:39 -07:00
slytechnical
98e9db340c
[Feature] Add supports_computer_use to the model list ( #10881 )
...
* Add support for supports_computer_use in model info
* Corrected list of supports_computer_use models
* Further fix computer use compatible claude models, fix existing test that predated supports_computer_use in the model list
* Move computer use test case into existing test_utils file
* Moved tests in to test_utils.py
2025-05-20 17:07:43 -07:00
Krrish Dholakia
058503ea11
test: skip test - model EOL
2025-05-20 15:57:12 -07:00
Krrish Dholakia
b122ead5b3
test: update tests
2025-05-20 13:08:47 -07:00
Krrish Dholakia
a676f69cab
docs: cleanup
2025-05-19 22:10:04 -07:00
Ishaan Jaff
af73a8e3a9
fix: vertex show clear exception on failed refresh ( #10969 )
...
* fix: vertex show clear exception on failed refresh
* fix: show clear debug log
2025-05-19 21:51:15 -07:00
Ishaan Jaff
7d8ed6f362
[Fix] List Guardrails - Show config.yaml guardrails on litellm ui ( #10959 )
...
* fix: listing guardrails defined on litellm config
* fix: list guardrails on litellm config
* fix: list guardrails on litellm config
* test: list guardrails on litellm config
* fix: linting
* Update litellm/proxy/guardrails/guardrail_endpoints.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: GuardrailInfoLiteLLMParamsResponse
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 21:25:23 -07:00
Krrish Dholakia
d099092bc1
build: ui/
...
new build
2025-05-19 21:23:45 -07:00
Jugal D. Bhatt
c6260fe31a
add cla to docs ( #10963 )
...
* add cla to docs
* cla docs clarity
2025-05-19 21:23:22 -07:00
Krrish Dholakia
b486849bc2
build(ui/): new ui build
2025-05-19 21:22:55 -07:00
Krrish Dholakia
1857f5d264
test: update test
2025-05-19 21:21:44 -07:00
Krrish Dholakia
584660b3cd
bump: version 1.70.1 → 1.70.2
2025-05-19 21:03:33 -07:00
Krish Dholakia
d282babd3e
Validate migrating keys to teams + Fix mistral image url on async translation ( #10966 )
...
* feat(key_management_endpoints.py): add validation checks for migrating key to team
Ensures requests with migrated key can actually succeed
Prevent migrated keys from failing in prod due to team missing required permissions
* fix(mistral/): fix image url handling for mistral on async call
* fix(key_management_endpoints.py): improve check for running team validation on key update
2025-05-19 21:01:53 -07:00
Krish Dholakia
6cfb6e5253
Litellm dev 05 19 2025 p3 ( #10965 )
...
* feat(model_info_view.tsx): enable updating model info for existing models on UI
Fixes LIT-154
* fix(model_info_view.tsx): instantly show model info updates on UI
* feat(proxy_server.py): enable flag on `/models` to include model access groups
This enables admin to assign model access groups to keys/teams on UI
* feat(ui/): add model access groups on ui dropdown when creating teams + keys
* refactor(parallel_request_limiter_v2.py): Migrate multi instance rate limiting to OSS
Closes https://github.com/BerriAI/litellm/issues/10052
2025-05-19 20:49:21 -07:00
Krrish Dholakia
b091832733
test: update tests
2025-05-19 20:48:26 -07:00
Krish Dholakia
8eccc787ba
Enable key reassignment on UI + Show 'updated at' column for key in all keys table ( #10960 )
...
* feat(key_edit_view.tsx): initial commit enabling reassigning keys to teams
* style(key_edit_view.tsx): cleaner implementation with teams in dropdown
* fix(all_keys_table.tsx): set max width to keys column
* feat(all_keys_table.tsx): show last updated at column for key
2025-05-19 20:27:46 -07:00
Krrish Dholakia
edfd8a138d
fix: update test to reflect change
2025-05-19 20:26:48 -07:00
Krrish Dholakia
defd602513
fix: fix model param mapping
2025-05-19 20:24:47 -07:00
Krrish Dholakia
4e3c8ae94f
test: update test due to cohere ssl issues
2025-05-19 20:07:57 -07:00
Krrish Dholakia
38470d7164
refactor(vertex_llm_base.py): remove check on credential project id - allow for cross credential calling
2025-05-19 20:03:27 -07:00
Ishaan Jaff
7075168939
bump: litellm proxy extras
2025-05-19 15:40:24 -07:00