Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
58
function
canStartSession(snapshot: FreebuffSessionRateLimit): boolean {
59
return
snapshot.recentCount < snapshot.limit
60
}
61
62
type
SessionQuotaInfo = Omit<FreebuffSessionRateLimit,
'model'
>
63
Callers
1
requestSession
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected