diff --git a/pkg/platform/sources/qqbotpy.yaml b/pkg/platform/sources/qqbotpy.yaml index 79653194..a7913042 100644 --- a/pkg/platform/sources/qqbotpy.yaml +++ b/pkg/platform/sources/qqbotpy.yaml @@ -28,9 +28,11 @@ spec: label: en_US: Intents zh_CN: 权限 - type: array[string] + type: array required: true default: [] + items: + type: string execution: python: path: ./qqbotpy.py diff --git a/templates/metadata/pipeline/ai.yaml b/templates/metadata/pipeline/ai.yaml index 74566a31..8b7959f6 100644 --- a/templates/metadata/pipeline/ai.yaml +++ b/templates/metadata/pipeline/ai.yaml @@ -54,9 +54,16 @@ stages: label: en_US: Prompt zh_CN: 提示词 - type: string + type: array required: true - default: "You are a helpful assistant." + items: + type: object + properties: + role: + type: string + default: user + content: + type: string - name: dify-service-api label: en_US: Dify Service API