mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 14:58:23 +08:00
fix(api): restore quota support helper binding
This commit is contained in:
parent
61af895106
commit
c4bf216b05
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user