修复双引号问题
This commit is contained in:
@@ -366,7 +366,7 @@ class DefaultReplyer:
|
|||||||
if not from_plugin:
|
if not from_plugin:
|
||||||
result = await event_manager.trigger_event(EventType.AFTER_LLM,prompt=prompt,llm_response=llm_response,stream_id=stream_id)
|
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():
|
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:
|
except UserWarning as e:
|
||||||
raise e
|
raise e
|
||||||
except Exception as llm_e:
|
except Exception as llm_e:
|
||||||
|
|||||||
Reference in New Issue
Block a user