Skip to content

Commit 36fc56f

Browse files
committed
test: add context, request_info, util unit test cases
1 parent d9f372e commit 36fc56f

File tree

26 files changed

+3477
-655
lines changed

26 files changed

+3477
-655
lines changed

core/llm_token_ratelimit/constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const (
8585
RandomLetterIdxMax = 63 / RandomLetterIdxBits
8686
)
8787

88-
// ================================= OpenAIEncoder ============================
88+
// ================================= TokenEncoder =============================
8989
const (
9090
TokenEncoderKeyFormat string = "{shard-%s}:token-encoder:%s:%s:%s" // hashTag, provider, model, redisRatelimitKey
9191
)

0 commit comments

Comments
 (0)