feat:提供原生vlm支持

This commit is contained in:
SengokuCola
2026-03-24 20:57:57 +08:00
parent 6cfc92e66f
commit a5fc4d172d
12 changed files with 447 additions and 59 deletions

View File

@@ -27,7 +27,14 @@ def create_builtin_tools() -> List[ToolOption]:
reply_builder = ToolOptionBuilder()
reply_builder.set_name("reply")
reply_builder.set_description("Generate and emit a visible reply based on the current thought.")
reply_builder.set_description("Generate and emit a visible reply based on the current thought. You must specify the target user message_id to reply to.")
reply_builder.add_param(
name="message_id",
param_type=ToolParamType.STRING,
description="The message_id of the specific user message that this reply should target.",
required=True,
enum_values=None,
)
tools.append(reply_builder.build())
no_reply_builder = ToolOptionBuilder()