feat:思考级别控制

This commit is contained in:
SengokuCola
2025-12-07 13:20:02 +08:00
parent 903e0f278a
commit 717b18be1e
6 changed files with 30 additions and 37 deletions

View File

@@ -81,6 +81,7 @@ async def generate_reply(
chat_id: Optional[str] = None,
action_data: Optional[Dict[str, Any]] = None,
reply_message: Optional["DatabaseMessages"] = None,
think_level: int = 1,
extra_info: str = "",
reply_reason: str = "",
available_actions: Optional[Dict[str, ActionInfo]] = None,
@@ -136,6 +137,7 @@ async def generate_reply(
enable_tool=enable_tool,
reply_message=reply_message,
reply_reason=reply_reason,
think_level=think_level,
from_plugin=from_plugin,
stream_id=chat_stream.stream_id if chat_stream else chat_id,
reply_time_point=reply_time_point,