Skip to content

Commit 961ece1

Browse files
committed
updates
1 parent b047174 commit 961ece1

7 files changed

Lines changed: 567 additions & 189 deletions

File tree

backend/anthropic_proxy.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
router = APIRouter(prefix="/v1", tags=["anthropic-proxy"])
3636

3737
# Configuration
38-
BRIGADE_URL = os.environ.get("BRIGADE_URL", "http://unicorn-brigade:8112")
38+
# BRIGADE_URL = os.environ.get("BRIGADE_URL", "http://unicorn-brigade:8112") # Deprecated - replaced by Claude Agents
3939
LITELLM_URL = os.environ.get("LITELLM_URL", "http://localhost:4000")
4040
KEYCLOAK_URL = os.environ.get("KEYCLOAK_URL", "https://auth.your-domain.com")
4141

@@ -362,16 +362,16 @@ def convert_sse_event(brigade_event: str, model: str) -> Dict[str, Any]:
362362
async def health_check():
363363
"""Health check for the proxy service"""
364364
try:
365-
# Check Brigade connectivity
365+
# Check Claude Agents connectivity
366366
async with httpx.AsyncClient(timeout=5.0) as client:
367-
brigade_health = await client.get(f"{BRIGADE_URL}/health")
368-
brigade_status = brigade_health.status_code == 200
367+
claude_agents_health = await client.get("http://localhost:8084/api/v1/claude-agents/health")
368+
claude_agents_status = claude_agents_health.status_code == 200
369369
except:
370-
brigade_status = False
370+
claude_agents_status = False
371371

372372
return {
373-
"status": "healthy" if brigade_status else "degraded",
374-
"brigade_connected": brigade_status,
373+
"status": "healthy" if claude_agents_status else "degraded",
374+
"claude_agents_connected": claude_agents_status,
375375
"timestamp": datetime.utcnow().isoformat()
376376
}
377377

0 commit comments

Comments
 (0)