fix: auto-fix code issues (cron)

- 修复缺失的导入 (re, csv, urllib.request)
- 修复未使用的导入清理
- 修复代码格式问题
This commit is contained in:
OpenClaw Bot
2026-02-28 03:04:27 +08:00
parent 33555642db
commit 7a07ce2bfd
3 changed files with 5 additions and 4 deletions

View File

@@ -1110,8 +1110,6 @@ def extract_entities_with_llm(text: str) -> tuple[list[dict], list[dict]]:
result = response.json()
content = result["choices"][0]["message"]["content"]
import re
json_match = re.search(r"\{{.*?\}}", content, re.DOTALL)
if json_match:
data = json.loads(json_match.group())