This commit is contained in:
Wbucket
2026-11-08 01:06:50 +08:00
parent bc18689f71
commit d1a011f206
3 changed files with 5 additions and 7 deletions
-2
View File
@@ -20,8 +20,6 @@ class MyPlugin(Star):
# 注册指令的装饰器
@filter.on_llm_request()
async def content_inject(self, event: AstrMessageEvent,req : ProviderRequest):
"""这是一个 hello world 指令""" # 这是 handler 的描述,将会被解析方便用户了解插件内容。建议填写。
# logger.info("系统提示词:"+req.system_prompt)
req.extra_user_content_parts.append(TextPart(
text=(
"-----wt使用----"