MCPcopy
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 "failed to fetch codex usage",
25 "获取用量信息失败,请稍后重试",
26 )
27}
28
29func GetCodexChannelRateLimitResetCredits(c *gin.Context) {
30 fetchCodexChannelWhamData(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected