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

@@ -119,8 +119,6 @@ class LLMClient:
messages = [ChatMessage(role="user", content=prompt)]
content = await self.chat(messages, temperature=0.1)
import re
json_match = re.search(r"\{{.*?\}}", content, re.DOTALL)
if not json_match:
return [], []