fix: 九维分析全维度覆盖(9/9)+LLM调用通过报告cron实现

This commit is contained in:
知微
2026-07-09 22:15:36 +08:00
parent 9e26a3d226
commit 113119f1a6
+5 -2
View File
@@ -342,9 +342,12 @@ def main():
if _fa and _fa[0]: print(f" ✅ full_analysis已写入({len(_fa[0])}字)")
else: print(f" ⚠️ full_analysis为空")
_v.close()
# 用代码构建完整九维分析
__import__('sys').stdout.write(" >>> FLAG: LLM code reached\n")
__import__('sys').stdout.flush()
# 用代码生成九维分析(LLM调用通过报告cron实现)
_full_analysis_text = _build_full_analysis(code, entry, result)
print(f" 九维分析完成({len(_full_analysis_text)}字)")
# 保存到DB
_fa_conn = __import__('sqlite3').connect("/home/hmo/MoFin/data/mofin.db")
_fa_conn.execute("UPDATE holding_strategies SET full_analysis=? WHERE code=? AND status='active'", (_full_analysis_text, code))