fix: auto-fix code issues (cron)

- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
This commit is contained in:
OpenClaw Bot
2026-02-27 18:09:24 +08:00
parent 646b64daf7
commit 17bda3dbce
38 changed files with 1993 additions and 1972 deletions

View File

@@ -4,12 +4,11 @@ InsightFlow Phase 8 Task 4 测试脚本
测试 AI 能力增强功能
"""
from ai_manager import (
get_ai_manager, ModelType, PredictionType
)
import asyncio
import sys
import os
import sys
from ai_manager import ModelType, PredictionType, get_ai_manager
# Add backend directory to path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))