MCP 수정중

This commit is contained in:
2026-03-06 14:40:31 +09:00
parent ac98bb856f
commit da5cef1925
4 changed files with 91 additions and 123 deletions

View File

@@ -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: