Merge branch 'dev' of github.com:MaiM-with-u/MaiBot into dev

This commit is contained in:
UnCLAS-Prommer
2025-09-19 00:34:07 +08:00
4 changed files with 9 additions and 5 deletions

View File

@@ -662,7 +662,7 @@ class PrivateReplyer:
time_block=time_block,
target=target,
reason=reply_reason,
sender = sender,
sender_name=sender,
reply_style=global_config.personality.reply_style,
keywords_reaction_prompt=keywords_reaction_prompt,
moderation_prompt=moderation_prompt_block,
@@ -678,15 +678,14 @@ class PrivateReplyer:
extra_info_block=extra_info_block,
identity=personality_prompt,
action_descriptions=actions_info,
sender_name=sender,
mood_state=mood_prompt,
dialogue_prompt=dialogue_prompt,
time_block=time_block,
sender = sender,
reply_target_block=reply_target_block,
reply_style=global_config.personality.reply_style,
keywords_reaction_prompt=keywords_reaction_prompt,
moderation_prompt=moderation_prompt_block,
sender_name=sender,
), selected_expressions
async def build_prompt_rewrite_context(

View File

@@ -18,6 +18,7 @@ from src.plugin_system.apis import (
plugin_manage_api,
send_api,
tool_api,
frequency_api,
)
from .logging_api import get_logger
from .plugin_register_api import register_plugin
@@ -38,4 +39,5 @@ __all__ = [
"get_logger",
"register_plugin",
"tool_api",
"frequency_api",
]