From de0ec8439c4897113700e1df19a4c85efcdb78db Mon Sep 17 00:00:00 2001 From: Miao Zhuang <1060950782@163.com> Date: Wed, 24 Jan 2024 19:24:23 +0800 Subject: [PATCH] fix: base36 (#758) * fix: base36 * fix: quota --- server/api/studio/internal/service/llm/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/studio/internal/service/llm/import.go b/server/api/studio/internal/service/llm/import.go index dbec123f..daca3577 100644 --- a/server/api/studio/internal/service/llm/import.go +++ b/server/api/studio/internal/service/llm/import.go @@ -21,7 +21,7 @@ import ( func hashString(s string) string { h := fnv.New64a() h.Write([]byte(s)) - return strconv.FormatUint(h.Sum64(), 8) + return strconv.FormatUint(h.Sum64(), 36) } func (g *llmService) AddImportJob(req *types.LLMImportRequest) (resp *types.LLMResponse, err error) { auth := g.ctx.Value(auth.CtxKeyUserInfo{}).(*auth.AuthData)