From f8979056eb9fabdace2789745e36709d202cdcb1 Mon Sep 17 00:00:00 2001 From: WangCham <651122857@qq.com> Date: Sat, 28 Mar 2026 09:43:49 +0800 Subject: [PATCH] fix: optimize configuration function --- src/langbot/pkg/platform/sources/wecombot.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/langbot/pkg/platform/sources/wecombot.yaml b/src/langbot/pkg/platform/sources/wecombot.yaml index bf851a44..0ea43157 100644 --- a/src/langbot/pkg/platform/sources/wecombot.yaml +++ b/src/langbot/pkg/platform/sources/wecombot.yaml @@ -55,6 +55,10 @@ spec: type: string required: false default: "" + show_if: + field: enable-webhook + operator: eq + value: true - name: Token label: en_US: Token @@ -65,6 +69,10 @@ spec: type: string required: false default: "" + show_if: + field: enable-webhook + operator: eq + value: true - name: EncodingAESKey label: en_US: EncodingAESKey @@ -75,6 +83,10 @@ spec: type: string required: false default: "" + show_if: + field: enable-webhook + operator: eq + value: true - name: enable-stream-reply label: en_US: Enable Stream Reply