It’s not, the summary has already executed the regex before sending.
I/flutter ( 3797): Start request - Set _isRequesting = true
I/flutter ( 3797): [Regex][Summary] Applying to_api rule: enabled=true, totalScripts=2, appliedScripts=1
I/flutter ( 3797): [Regex][Summary] to_api rule overview: [{"name":"wo2","find":"俺","replace":"我","useNotebookKey":false,"category":"character","minDepth":1,"maxDepth":2,"group":null}]
I/flutter ( 3797): [Regex][Summary] Input messages: count=3, totalLen=448, preview=[{"i":0,"role":"assistant","id":"470","len":36,"preview":"建议把充电器拔掉哦,除非您想见证史上首例手机电池爆炸引发的器灵消亡事件。"},{"i":1,"role":"user","id":"475","len":7,"preview":"hello 俺"},{"i":2,"role":"assistant","id":"476","len":405,"preview":"(身穿白底蓝纹连衣裙的身影在屏幕边缘晃了晃,我坐在通知栏上,轻轻晃荡着双腿,歪着头用一种看傻瓜的眼神看着你,嘴角勾起一抹戏谑的弧度) 俺俺俺\\n\\nHello ~ 亲爱的主人。\\n\\n您的想象力要是能分一半用在正经工作上,大概早就实现财富自..."}]
I/flutter ( 3797): [Regex] _applyRegexRules call: type=to_api, enableDepthFilter=true, _regexEnabled=true, number of rules=2
I/flutter ( 3797): [Regex] Processing message list: number of messages=3, enableDepthFilter=true
I/flutter ( 3797): [Regex] Checking rule: wo, placement=BEFORE_TO_DATABASE, enabled=true, minDepth=null, maxDepth=null
I/flutter ( 3797): [Regex] Checking rule: wo2, placement=BEFORE_TO_API, enabled=true, minDepth=1, maxDepth=2
I/flutter ( 3797): [Regex] Message index=0, depth=2, depth range check=true (minDepth=1, maxDepth=2)
I/flutter ( 3797): [Regex] Preparing to apply regex to message: assistant, content: 建议把充电器拔掉哦,除非您想见证史上首例手机电池爆炸引发的器灵消亡事件。
I/flutter ( 3797): [Regex] Message content unchanged: assistant
I/flutter ( 3797): [Regex] Message index=1, depth=1, depth range check=true (minDepth=1, maxDepth=2)
I/flutter ( 3797): [Regex] Preparing to apply regex to message: user, content: hello 俺
I/flutter ( 3797): [Regex] Applied regex processing to message: user hello 我 wo2
I/flutter ( 3797): [Regex] Message index=2, depth=0, depth range check=false (minDepth=1, maxDepth=2)
I/flutter ( 3797): [Regex] Applying regex rule: wo2 (BEFORE_TO_API)
I/flutter ( 3797): [Regex][Summary] Output messages: count=3, totalLen=448, modified=1/3, preview=[{"i":0,"role":"assistant","id":"470","len":36,"preview":"建议把充电器拔掉哦,除非您想见证史上首例手机电池爆炸引发的器灵消亡事件。"},{"i":1,"role":"user","id":"475","len":7,"preview":"hello 我"},{"i":2,"role":"assistant","id":"476","len":405,"preview":"(身穿白底蓝纹连衣裙的身影在屏幕边缘晃了晃,我坐在通知栏上,轻轻晃荡着双腿,歪着头用一种看傻瓜的眼神看着你,嘴角勾起一抹戏谑的弧度) 俺俺俺\\n\\nHello ~ 亲爱的主人。\\n\\n您的想象力要是能分一半用在正经工作上,大概早就实现财富自..."}]
I/flutter ( 3797): Initializing summary service, using API specification:
Check if initiating the summary separately is normal.


