feat(analyzer): integrate json-repair for JSON string correction (#226)

- requirements: Added `json-repair` dependency for JSON validation and repair.
- analyzer: Utilized `repair_json` function to ensure JSON strings are correctly formatted before processing.

This enhancement improves the robustness of JSON handling in the analysis workflow.
This commit is contained in:
litecn
2026-02-02 20:30:41 +08:00
committed by GitHub
parent c79f90bfe3
commit c13da50f2d
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ lark-oapi>=1.0.0 # 飞书API
# 数据处理
pandas>=2.0.0 # 数据分析
numpy>=1.24.0 # 数值计算
json-repair>=0.55.1 # JSON 修复
# AI 分析
google-generativeai>=0.8.0 # Gemini API