MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / cacheDecrTokenQuota

Function cacheDecrTokenQuota

model/token_cache.go:38–40  ·  view source on GitHub ↗
(key string, decrement int64)

Source from the content-addressed store, hash-verified

36}
37
38func cacheDecrTokenQuota(key string, decrement int64) error {
39 return cacheIncrTokenQuota(key, -decrement)
40}
41
42func cacheSetTokenField(key string, field string, value string) error {
43 key = common.GenerateHMAC(key)

Callers 1

DecreaseTokenQuotaFunction · 0.85

Calls 1

cacheIncrTokenQuotaFunction · 0.85

Tested by

no test coverage detected