Fix/bug en zh (#382)

* [fix]The log retains genuine alerts and errors, while filtering out unnecessary noise.

* [fix]Scenario English and Chinese, emotion specifications

* [fix]Change the "no data" scenario from 0.0 to None
This commit is contained in:
乐力齐
2026-02-10 10:40:38 +08:00
committed by GitHub
parent 6da5b81311
commit 100bf4fa49
8 changed files with 142 additions and 31 deletions

View File

@@ -186,7 +186,7 @@ async def get_emotion_health(
"情绪健康指数获取成功",
extra={
"end_user_id": request.end_user_id,
"health_score": data.get("health_score", 0),
"health_score": data.get("health_score") or 0,
"level": data.get("level", "未知")
}
)