litellm/tests/test_litellm/proxy/client/cli
Krrish Dholakia 28975f6ee0 feat(cli): add lite up/lite down to ambiently route Claude Code through the proxy
Patches ~/.claude/settings.json in place (env.ANTHROPIC_BASE_URL + apiKeyHelper
via `lite auth print-token`) so any `claude` session started afterward, from
any terminal, routes through the local LiteLLM proxy with no wrapper command
needed, unlike the existing `lite claude` subprocess-exec approach. Backs up
the original file first and restores it on Ctrl-C/SIGTERM, or via `lite down`
after an unclean exit. Cursor is not supported: no equivalent file-based config
to patch.
2026-07-14 09:52:35 -07:00
..
__init__.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_agents.py feat(cli): per-agent lite claude / codex / opencode commands that wrap coding agents through the proxy (#29850) 2026-06-10 13:52:26 -07:00
test_auth_commands.py feat: add lite auth print-token for Claude Code apiKeyHelper support (#32846) 2026-07-11 13:31:41 -07:00
test_credentials_commands.py test fix creds test 2025-07-03 22:01:52 -07:00
test_encryption_commands.py feat(proxy): add AES-256-GCM at-rest credential encryption with versioned format and re-encryption migration (#31215) 2026-06-29 20:14:22 +02:00
test_global_options.py fix: strip trailing slash from --base-url in lite CLI (#32845) 2026-07-10 18:00:00 -07:00
test_keys_commands.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_models_commands.py sys.path.insert for cli tests 2025-07-03 15:58:49 -07:00
test_up_commands.py feat(cli): add lite up/lite down to ambiently route Claude Code through the proxy 2026-07-14 09:52:35 -07:00
test_users_commands.py sys.path.insert for cli tests 2025-07-03 15:58:49 -07:00