This commit is contained in:
minecraft1024a
2025-08-26 20:45:11 +08:00

View File

@@ -392,7 +392,7 @@ class DefaultReplyer:
if not from_plugin:
result = await event_manager.trigger_event(EventType.AFTER_LLM,prompt=prompt,llm_response=llm_response,stream_id=stream_id)
if not result.all_continue_process():
raise UserWarning(f"插件{result.get_summary().get("stopped_handlers","")}于请求后取消了内容生成")
raise UserWarning(f"插件{result.get_summary().get('stopped_handlers','')}于请求后取消了内容生成")
except UserWarning as e:
raise e
except Exception as llm_e: