MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / CheckAgentCreate

Method CheckAgentCreate

internal/limits/limits.go:52–52  ·  view source on GitHub ↗

CheckAgentCreate returns nil if the user may create another agent, or *LimitExceededError if they have already hit the cap.

(ctx context.Context, userID string)

Source from the content-addressed store, hash-verified

50 // CheckAgentCreate returns nil if the user may create another agent,
51 // or *LimitExceededError if they have already hit the cap.
52 CheckAgentCreate(ctx context.Context, userID string) error
53
54 // CheckDomainCreate returns nil if the user may register another
55 // domain, or *LimitExceededError if they have already hit the cap.

Implementers 1

DBEnforcerinternal/limits/enforcer.go

Calls

no outgoing calls