MCP 수정중
This commit is contained in:
@@ -72,6 +72,9 @@ async def request_mcp_risk_assessment(
|
||||
- approve=False → 주문 스킵
|
||||
- MCP 장애 / 타임아웃 → fail-open (approve=True, 매매 중단 방지)
|
||||
"""
|
||||
if not settings.MCP_VALIDATION_ENABLED:
|
||||
return True, "mcp_disabled"
|
||||
|
||||
try:
|
||||
client = get_http_client()
|
||||
except RuntimeError:
|
||||
|
||||
Reference in New Issue
Block a user