diff --git a/src/chat/replyer/default_generator.py b/src/chat/replyer/default_generator.py index 539a38753..df65686b5 100644 --- a/src/chat/replyer/default_generator.py +++ b/src/chat/replyer/default_generator.py @@ -366,7 +366,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: