mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-21 07:01:04 +08:00
Go: add stats (#17061)
### Summary Add LLM token stats framework --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ import (
|
||||
|
||||
func init() {
|
||||
// Initialize logger for tests
|
||||
if err := common.Init("info", common.FileOutput{}, ""); err != nil {
|
||||
if err := common.Init("info", common.FileOutput{}, "tokenizer_test"); err != nil {
|
||||
fmt.Printf("Failed to initialize logger: %v\n", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user