diff --git a/main.go b/main.go index 67a3cd95..9abf62f5 100644 --- a/main.go +++ b/main.go @@ -88,7 +88,7 @@ func main() { if config.EnableMetric { logger.SysLog("metric enabled, will disable channel if too much request failed") } - openai.InitTokenEncoders() + go openai.InitTokenEncoders() client.Init() // Initialize HTTP server