dev
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user