Skip to content

Commit 7824938

Browse files
zhujian0805claude
andcommitted
docs: replace real IP addresses with fake ones in example config and code
- Updated providers.json.example to use 192.168.1.100 instead of 10.189.8.10 - Updated litellm_models.py default base_url to use fake IP address - These changes ensure example configurations don't expose real endpoints 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f0d9c71 commit 7824938

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

code_assistant_manager/litellm_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
logger = logging.getLogger(__name__)
1212

1313

14-
def fetch_litellm_models(api_key: str, base_url: str = "https://10.189.8.10:4142"):
14+
def fetch_litellm_models(api_key: str, base_url: str = "https://192.168.1.100:4142"):
1515
"""Fetch models from Litellm API."""
1616
url = f"{base_url}/v1/models"
1717
params = {

providers.json.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"common": {
33
"http_proxy": "http://proxy.example.com:8080/",
44
"https_proxy": "http://proxy.example.com:8080/",
5-
"no_proxy": "localhost,127.0.0.1,10.189.8.10",
5+
"no_proxy": "localhost,127.0.0.1,192.168.1.100",
66
"cache_ttl_seconds": 86400
77
},
88
"endpoints": {
99
"litellm": {
10-
"endpoint": "https://10.189.8.10:4142",
10+
"endpoint": "https://192.168.1.100:4142",
1111
"api_key_env": "API_KEY_LITELLM",
1212
"list_models_cmd": "python -m code_assistant_manager.litellm_models",
1313
"keep_proxy_config": false,
@@ -16,7 +16,7 @@
1616
"supported_client": "claude,copilot,droid,codebuddy,codex,qwen,crush,iflow"
1717
},
1818
"copilot-api": {
19-
"endpoint": "https://10.189.8.10:5000",
19+
"endpoint": "https://192.168.1.100:5000",
2020
"api_key_env": "API_KEY_COPILOT",
2121
"list_models_cmd": "python -m code_assistant_manager.copilot_models",
2222
"supported_client": "claude,copilot,droid,codebuddy,codex,qwen,neovate,crush",

0 commit comments

Comments
 (0)