This commit is contained in:
Wbucket
2026-11-05 15:36:56 +08:00
parent 2e2a87d660
commit 5740e7d41e
+1 -1
View File
@@ -15,7 +15,7 @@ class MyPlugin(Star):
@filter.on_llm_request()
async def helloworld(self, event: AstrMessageEvent,req : ProviderRequest):
"""这是一个 hello world 指令""" # 这是 handler 的描述,将会被解析方便用户了解插件内容。建议填写。
logger.info("系统提示词:",req.system_prompt)
# logger.info("系统提示词:"+req.system_prompt)
req.extra_user_content_parts.append(TextPart(
text=(
"使用<wt>x</wt>模板输入想要等待的时间。单位为s\n"