添加ai日志

This commit is contained in:
zk
2026-07-07 21:43:49 +08:00
parent cb94fb7bfe
commit ca0b13a45d
4 changed files with 66 additions and 9 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ async def _do_clean(company: dict) -> None:
short_name = company.get("short_name", "")
user_msg = f"【公司简称】\n{short_name}\n\n【行业列表】\n{dict_cache.industry_text}"
result = await ai_chat_json(CompanyCleanModel.ENRICH, COMPANY_ENRICH_SYSTEM, user_msg)
result = await ai_chat_json(CompanyCleanModel.ENRICH, COMPANY_ENRICH_SYSTEM, user_msg, scene="company_enrich")
if result is None or not result.get("valid", False):
await _update_status(company_id, 4)