MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / canStartSession

Function canStartSession

web/src/server/free-session/public-api.ts:58–60  ·  view source on GitHub ↗
(snapshot: FreebuffSessionRateLimit)

Source from the content-addressed store, hash-verified

56}
57
58function canStartSession(snapshot: FreebuffSessionRateLimit): boolean {
59 return snapshot.recentCount < snapshot.limit
60}
61
62type SessionQuotaInfo = Omit<FreebuffSessionRateLimit, 'model'>
63

Callers 1

requestSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected