feat: make prompt object type array in pipeline config

This commit is contained in:
Junyan Qin
2025-04-03 12:50:18 +08:00
parent 4e7b9aaf59
commit 913e43d84c
2 changed files with 12 additions and 3 deletions
+9 -2
View File
@@ -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