From 16ec4b4f7c80b13b4a1e492786cb2863e8aedde6 Mon Sep 17 00:00:00 2001 From: Dong_master <2213070223@qq.com> Date: Mon, 1 Dec 2025 21:52:43 +0800 Subject: [PATCH] fix: del port --- src/langbot/pkg/platform/sources/lark.yaml | 30 ++++++++-------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/src/langbot/pkg/platform/sources/lark.yaml b/src/langbot/pkg/platform/sources/lark.yaml index 94414b2e..ff48ed11 100644 --- a/src/langbot/pkg/platform/sources/lark.yaml +++ b/src/langbot/pkg/platform/sources/lark.yaml @@ -11,6 +11,16 @@ metadata: icon: lark.svg spec: config: + - name: enable-webhook + label: + en_US: Enable Webhook Mode + zh_Hans: 启用Webhook模式 + description: + en_US: If enabled, the bot will use webhook mode to receive messages. Otherwise, it will use WS long connection mode + zh_Hans: 如果启用,机器人将使用 Webhook 模式接收消息。否则,将使用 WS 长连接模式 + type: boolean + required: true + default: false - name: app_id label: en_US: App ID @@ -35,26 +45,6 @@ spec: type: string required: true default: "" - - name: enable-webhook - label: - en_US: Enable Webhook Mode - zh_Hans: 启用Webhook模式 - description: - en_US: If enabled, the bot will use webhook mode to receive messages. Otherwise, it will use WS long connection mode - zh_Hans: 如果启用,机器人将使用 Webhook 模式接收消息。否则,将使用 WS 长连接模式 - type: boolean - required: true - default: false - - name: port - label: - en_US: Webhook Port - zh_Hans: Webhook端口 - description: - en_US: Only valid when webhook mode is enabled, please fill in the webhook port - zh_Hans: 仅在启用 Webhook 模式时有效,请填写 Webhook 端口 - type: integer - required: true - default: 2285 - name: encrypt-key label: en_US: Encrypt Key