fix(api): restore quota support helper binding

This commit is contained in:
-LAN- 2026-05-10 21:37:58 +08:00
parent 61af895106
commit c4bf216b05
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

View File

@ -156,6 +156,7 @@ class LLMQuotaLayer(GraphEngineLayer):
except Exception:
logger.exception("Failed to send quota abort command")
@staticmethod
def _supports_quota(node: Node) -> bool:
return node.node_type in _QUOTA_NODE_TYPES