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

@ -27,7 +27,7 @@ from ollama import Client
from openai import OpenAI
from zhipuai import ZhipuAI
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
from api import settings
import logging