🐛 debug: 输出AI分析异常信息
This commit is contained in:
@@ -426,8 +426,8 @@ class CFQueryPlugin(Star):
|
|||||||
if llm_resp and llm_resp.completion_text:
|
if llm_resp and llm_resp.completion_text:
|
||||||
yield event.plain_result(llm_resp.completion_text)
|
yield event.plain_result(llm_resp.completion_text)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# AI分析失败不影响主流程
|
# AI分析失败时打印错误但不影响主流程
|
||||||
pass
|
yield event.plain_result(f"⚠️ AI分析异常: {type(e).__name__}: {e}")
|
||||||
return
|
return
|
||||||
|
|
||||||
# 没有图表时才发文本报告
|
# 没有图表时才发文本报告
|
||||||
|
|||||||
Reference in New Issue
Block a user