mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_agents.py | ||
| test_auth_commands.py | ||
| test_credentials_commands.py | ||
| test_encryption_commands.py | ||
| test_global_options.py | ||
| test_keys_commands.py | ||
| test_models_commands.py | ||
| test_up_commands.py | ||
| test_users_commands.py | ||