MCPcopy Create free account
hub / github.com/QuantumNous/new-api / GetCodexChannelUsage

Function GetCodexChannelUsage

controller/codex_usage.go:20–27  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

18)
19
20func GetCodexChannelUsage(c *gin.Context) {
21 fetchCodexChannelWhamData(
22 c,
23 service.FetchCodexWhamUsage,
24 common.LogText("failed to fetch codex usage"),
25 "Failed to fetch usage. Please try again later",
26 )
27}
28
29func GetCodexChannelRateLimitResetCredits(c *gin.Context) {
30 fetchCodexChannelWhamData(

Callers

nothing calls this directly

Calls 2

LogTextFunction · 0.92

Tested by

no test coverage detected