Commit graph

25339 commits

Author SHA1 Message Date
Gagan Raj Chinka
a5ed3446cd
opnerouter/x-ai/grok-4-fast:free" to model_prices_and_context_window.json (#14779)
* Update model_prices_and_context_window_backup.json

* Update model_prices_and_context_window.json
2025-09-22 21:29:15 -07:00
Ishaan Jaff
b9ffa98c55
[Feat] Proxy CLI: Create a python method to login using litellm proxy (#14782)
* fix: cli auth with SSO okta

* fix: add LITTELM_CLI_SERVICE_ACCOUNT_NAME

* fix: get_litellm_cli_user_api_key_auth

* use existing_key CLI

* fix: use existing key

* test auth commands

* test_cli_sso_callback_regenerate_vs_create_flow

* feat: add CLI Token Utilities

* fix: get_stored_api_key

* move file

* fix: get_valid_models

* fix config.yaml

* TestCLITokenUtils

* TestGetValidModelsWithCLI

* fix: tie user id to keys created through CLI

* fix: add teams interface to CLI

* add /keys/update to the list client commands

* fix /sso/cli/poll to return the user_id

* fix: working TeamsManagementClient

* fix CLI Login command

* fixes for auth

* Potential fix for code scanning alert no. 3400: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* ruff fix

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-22 21:28:38 -07:00
Uzair Ali
3e9540f589
feat: enable custom fields in mcp_info configuration (#14794)
Allow proxy admins to add arbitrary metadata fields to MCP servers
in config.yaml under mcp_servers.<server>.mcp_info, similar to how
model_info already works.

Changes:
- Changed MCPInfo from TypedDict to Dict[str, Any] for flexibility
- Updated load_servers_from_config to preserve all custom fields
- Updated add_update_server to handle arbitrary fields from database
- Added comprehensive unit tests covering all scenarios
2025-09-22 21:15:35 -07:00
Krrish Dholakia
65532e59a3 fix: fix type hint 2025-09-22 17:51:08 -07:00
Krish Dholakia
0a1c1a27a7
Merge pull request #14787 from BerriAI/litellm_dev_09_22_2025_p1
docs(provider_specific_params.md): fix docs
2025-09-22 17:45:57 -07:00
Krrish Dholakia
471d646bb7 fix: fix type hint 2025-09-22 17:45:12 -07:00
Krrish Dholakia
5bae1f6540 perf(test-mcp.yml): run mcp tests on linting 2025-09-22 17:41:43 -07:00
Krrish Dholakia
70cd9d3d4e test: fix unit test to work on github action 2025-09-22 17:38:11 -07:00
Krrish Dholakia
4c66e1f6bf docs(provider_specific_params.md): fix docs 2025-09-22 17:18:57 -07:00
Krish Dholakia
390e47cbf3
Merge pull request #14416 from xprilion/wandb-inference
Add W&B Inference to LiteLLM
2025-09-22 16:36:46 -07:00
xprilion
0f1de92e19 remove redundant code block 2025-09-23 00:23:36 +05:30
Anubhav Singh
fde4dcb0b8
Merge branch 'main' into wandb-inference 2025-09-23 00:14:11 +05:30
Ishaan Jaff
fa20abfe48
[Feat] Proxy CLI Auth - Allow re-using cli auth token (#14780)
* fix: cli auth with SSO okta

* fix: add LITTELM_CLI_SERVICE_ACCOUNT_NAME

* fix: get_litellm_cli_user_api_key_auth

* use existing_key CLI

* fix: use existing key

* test auth commands

* test_cli_sso_callback_regenerate_vs_create_flow
2025-09-22 10:07:16 -07:00
Krish Dholakia
52a56bd5fe
Merge pull request #14570 from timelfrink/feat/issue-14562-bedrock-converse-request-metadata
feat: Support requestMetadata in Bedrock Converse API
2025-09-21 21:26:49 -07:00
Krish Dholakia
9096d9cb25
Merge branch 'main' into feat/issue-14562-bedrock-converse-request-metadata 2025-09-21 21:26:37 -07:00
Krish Dholakia
cf429e77a8
Merge pull request #14587 from timelfrink/fix/streaming-tool-call-indices
Fix: Streaming tool call index assignment for multiple tool calls
2025-09-21 21:24:35 -07:00
Krish Dholakia
d4540d31c1
Merge branch 'main' into fix/streaming-tool-call-indices 2025-09-21 21:24:22 -07:00
Krish Dholakia
197e98b6fb
Merge pull request #14758 from TeddyAmkie/model-armor-restore
Resolve Model Armor gaps (Pdfs, basic
2025-09-21 21:18:53 -07:00
Krish Dholakia
8628c265b9
Merge pull request #14761 from uzaxirr/feat/sdk-additional-headers
feat: Add SDK support for additional headers
2025-09-21 21:09:51 -07:00
uzaxirr
d8d5581f29 Resolve merge conflicts with main branch
- Accept main branch's consolidation of Cohere providers
- Preserve header implementation with proper three-tier merging
- Replace outdated header handling in Cohere sections with consolidated approach
- Maintain backward compatibility and functionality
2025-09-22 05:59:28 +05:30
uzaxirr
50d717cde0 Apply Black formatting and fix Ruff issues
- Format code with Black to meet style requirements
- Fix auto-fixable Ruff linting issues
- Maintain header implementation functionality
2025-09-22 04:46:08 +05:30
uzaxirr
3986b073c9 feat: Add SDK support for additional headers 2025-09-21 14:58:14 +05:30
Teddy Amkie
9d1878029d Added model armor testing files basic 2025-09-20 22:40:46 -07:00
berri-teddy
5070f5dd4b Ensure basic detection format proper 2025-09-20 22:15:35 -07:00
Ishaan Jaffer
be193fbffd docs fix 2025-09-20 17:43:38 -07:00
Ishaan Jaffer
b0c70fb2e0 docs fix 2025-09-20 17:42:56 -07:00
Ishaan Jaffer
bfaa2c75ae docs fix 2025-09-20 17:33:52 -07:00
Ishaan Jaffer
78506d103e docs fix 2025-09-20 17:32:47 -07:00
Ishaan Jaffer
41ce31bd1b docs fix 2025-09-20 17:30:03 -07:00
Ishaan Jaffer
fce28a4c84 docs fix 2025-09-20 17:24:04 -07:00
Ishaan Jaffer
ea24d88458 docs fix 2025-09-20 17:22:41 -07:00
Ishaan Jaffer
8b3e3c1882 tes fix 2025-09-20 17:00:30 -07:00
Ishaan Jaffer
c656982f18 test fix 2025-09-20 16:55:23 -07:00
Ishaan Jaffer
d0dcf8c81c test_rerank_custom_callbacks 2025-09-20 16:27:58 -07:00
Ishaan Jaffer
4bafbc5c08 ui new build 2025-09-20 16:27:21 -07:00
Ishaan Jaffer
74593daf40 ci/cd fix litellm_mapped_enterprise_tests 2025-09-20 16:05:44 -07:00
Ishaan Jaffer
979ca9287b test prometheus fix 2025-09-20 16:03:34 -07:00
Ishaan Jaffer
f1a18b69a4 test_aincrement_top_level_request_and_spend_metrics 2025-09-20 15:33:08 -07:00
Ishaan Jaffer
8ec73db36b test fix 2025-09-20 15:32:59 -07:00
Ishaan Jaff
10de012e12
[Docs] - v1.77.3 (#14751)
* fix sidebar

* v1

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix

* docs fix
2025-09-20 15:23:44 -07:00
Ishaan Jaffer
6c966400dd fix test 2025-09-20 15:03:35 -07:00
Krish Dholakia
55f6846c64
Merge pull request #14752 from BerriAI/litellm_dev_09_20_2025_p1
fix(model_connection_test.tsx): pass modelinfo to `/health/test_conne…
2025-09-20 14:30:55 -07:00
Ishaan Jaffer
d4a2a4a608 test fix 2025-09-20 14:10:40 -07:00
Ishaan Jaffer
18d5177aec test fix 2025-09-20 14:09:24 -07:00
Ishaan Jaffer
59d2f0f465 test_string_cost_values 2025-09-20 13:34:57 -07:00
Ishaan Jaffer
4b876ea9ca test_sanitize_request_body_for_spend_logs_payload_mixed_types 2025-09-20 12:33:37 -07:00
Krrish Dholakia
204c208d24 fix(model_connection_test.tsx): pass modelinfo to /health/test_connection
ensures team admins can test new models
2025-09-20 12:33:28 -07:00
Ishaan Jaffer
39cb7f67f0 fix sidebar 2025-09-20 12:30:55 -07:00
Krrish Dholakia
a07bf301e6 ci: update env vars 2025-09-20 12:06:58 -07:00
Ishaan Jaffer
24867cf973 bump: version 1.77.2 → 1.77.3 2025-09-20 11:52:32 -07:00