dev logger
This commit is contained in:
@@ -45,6 +45,8 @@ class MyPlugin(Star):
|
||||
async def pattern_extract(self,event:AstrMessageEvent,req:LLMResponse):
|
||||
if not req.role == 'assistant':
|
||||
return
|
||||
|
||||
logger.info("[wait_msg]:开始解析模板")
|
||||
llm_res = req.completion_text
|
||||
dump = Pattern(llm_res)
|
||||
await event.send(MessageChain().message("awa定时时间消息:{0}过滤后:{1}".format(dump.count,dump.string)))
|
||||
|
||||
Reference in New Issue
Block a user