Refactor log utils (#10973)

### What problem does this PR solve?

As title.

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2025-11-03 20:25:02 +08:00
committed by GitHub
parent 395ce16b3c
commit 378bdfccfc
9 changed files with 88 additions and 220 deletions

View File

@ -22,7 +22,7 @@ import numpy as np
import requests
from yarl import URL
from api.utils.log_utils import log_exception
from common.log_utils import log_exception
from common.token_utils import num_tokens_from_string, truncate, total_token_count_from_response
class Base(ABC):