Ishaan Jaff
bdb1e16dcf
[Feat] AI Gateway Auth - Allow using JWTs for signing in with Proxy CLI ( #16756 )
...
* fix auth
* get_cli_jwt_auth_token
* fix linting
* test fixes
* docs
* test fixes
* fix refactor
2025-11-17 19:47:29 -08:00
Ishaan Jaffer
8a9fe7b056
fix delete callbacks
2025-11-06 17:06:34 -08:00
Ishaan Jaffer
539d10f9cb
test fix
2025-09-26 11:06:26 -07:00
Ishaan Jaff
f4ecf3ca72
[Feat] Fixes for LiteLLM Proxy CLI to Auth to Gateway ( #14836 )
...
* fix: error msg from updating key
* fix _create_new_cli_key
* fix validate_key_team_change
* fix interface for chat
* ruff fix
* fix auth for keys
* get_litellm_gateway_api_key
* fix chat
* test fix
* linting fix
* fix mypy
* test_validate_key_team_change_with_member_permissions
2025-09-23 19:43:32 -07:00
Ishaan Jaffer
aaebd83f31
test fixes
2025-09-23 16:07:01 -07:00
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
Daniel Barker
47edecd5bc
Fixed incorrect key info endpoint ( #13633 )
2025-08-15 11:10:06 -07:00
Marc Abramowitz
40ccd2b70f
Add "keys import" command to CLI ( #12620 )
...
* Add "keys import" command to CLI
E.g.:
```
litellm-proxy keys import \
--source-base-url=https://old-litellm.company.com \
--source-api-key=$LITELLM_KEY \
--dry-run
```
* Add --created-since option
* Add tests
* Fix lint errors
* Fix lint issues
* Fix lint errors
* Fix response.raise_for_status not being a thing
* Fix a mypy error
2025-07-15 20:14:43 -07:00
Ishaan Jaff
0835011388
test fix creds test
2025-07-03 22:01:52 -07:00
Ishaan Jaff
9c8619ed10
test fix
2025-07-03 21:16:26 -07:00
Ishaan Jaff
81d96b9ffe
fix test models
2025-07-03 21:16:26 -07:00
Ishaan Jaff
bffe5bec7d
test fix cli credentials
2025-07-03 21:08:35 -07:00
Ishaan Jaff
e03686de5f
tests fix use correct import responses
2025-07-03 21:06:31 -07:00
Ishaan Jaff
4293dd2c2a
test: stabilize credentials CLI patch ( #12305 )
2025-07-03 18:09:32 -07:00
Ishaan Jaff
3ad6b36ffc
test: patch CredentialsManagementClient in CLI ( #12304 )
2025-07-03 17:01:50 -07:00
Ishaan Jaff
782ba9f5a0
sys.path.insert for cli tests
2025-07-03 15:58:49 -07:00
Ishaan Jaff
96d5f891df
fix test
2025-07-03 11:18:41 -07:00
Ishaan Jaff
ba5af3e44b
fix keys delete
2025-07-03 11:18:10 -07:00
Ishaan Jaff
c3909d6f50
test_keys_delete_error_handling
2025-07-03 10:04:59 -07:00
dcieslak19973
d480cea8b0
Add azure_ai cohere rerank v3.5 ( #12283 )
...
* Add azure_ai cohere rerank v3.5
* Fix CI error
2025-07-03 10:01:45 -07:00
Ishaan Jaff
282ce1a859
test - fix delete keys
2025-07-02 22:23:10 -07:00
Ishaan Jaff
a6527e5010
[Feat] Add litellm-proxy cli login for starting to use litellm proxy ( #12216 )
...
* add handlers for auth commands
* add login, logout, whoami
* refactor auth
* add CLI Authentication Flow
* add SSO sign in constants
* add itellm-session-token
* fixes for managing state with cli
* use locally stored context for cli session
* add litellm banner + interactive shell
* update main.py
* update auth to show commands
* fix ui sso render
* add TestCLISSOCallbackFunction
* update banner.py
* remove file
* fix cli sso success
* TestTokenUtilities
* fix code qa
* fix execute_command
* fix cli_sso_callback
* fix import
* Authentication using CLI
2025-07-01 18:11:19 -07:00
Cole McIntosh
abe364c2bc
Fix: Ensure exception is not None before checking its string representation ( #12209 )
...
The test_keys_delete_error_handling test was failing with:
- ConnectionError when the mock wasn't properly applied
- The test was checking str(result.exception) without first verifying exception exists
This fix adds an explicit check that result.exception is not None before
attempting to convert it to string, preventing potential AttributeError
and making the test more robust.
2025-07-01 12:30:31 -07:00
Krish Dholakia
ef42461c1e
Litellm fix GitHub action testing ( #11163 )
...
* test: add __init__.py files
* refactor: rename test folder to avoid naming conflict
* test: update workflows
* test: update tests
* test: update imports
* test: update tests
* test: remove unused import
* ci(test-litellm.yml): add pytest retry to github workflow
* test: fix test
2025-05-26 14:41:42 -07:00