perf: unify entities

This commit is contained in:
Junyan Qin
2025-05-08 18:09:52 +08:00
parent ef6be4dfd9
commit e74de068ea
19 changed files with 400 additions and 632 deletions
+2 -11
View File
@@ -40,9 +40,8 @@ stages:
label:
en_US: Model
zh_CN: 模型
type: select
type: llm-model-selector
required: true
scope: /provider/models/llm
- name: max-round
label:
en_US: Max Round
@@ -54,16 +53,8 @@ stages:
label:
en_US: Prompt
zh_CN: 提示词
type: array
type: prompt-editor
required: true
items:
type: object
properties:
role:
type: string
default: user
content:
type: string
- name: dify-service-api
label:
en_US: Dify Service API
+6 -18
View File
@@ -28,11 +28,9 @@ stages:
description:
en_US: The prefix of the message
zh_CN: 消息前缀
type: array
type: array[string]
required: true
default: []
items:
type: string
- name: regexp
label:
en_US: Regexp
@@ -40,11 +38,9 @@ stages:
description:
en_US: The regexp of the message
zh_CN: 消息正则表达式
type: array
type: array[string]
required: true
default: []
items:
type: string
- name: random
label:
en_US: Random
@@ -83,20 +79,16 @@ stages:
label:
en_US: Blacklist
zh_CN: 黑名单
type: array
type: array[string]
required: true
default: []
items:
type: string
- name: whitelist
label:
en_US: Whitelist
zh_CN: 白名单
type: array
type: array[string]
required: true
default: []
items:
type: string
- name: ignore-rules
label:
en_US: Ignore Rules
@@ -109,11 +101,9 @@ stages:
description:
en_US: The prefix of the message
zh_CN: 消息前缀
type: array
type: array[string]
required: true
default: []
items:
type: string
- name: regexp
label:
en_US: Regexp
@@ -121,8 +111,6 @@ stages:
description:
en_US: The regexp of the message
zh_CN: 消息正则表达式
type: array
type: array[string]
required: true
default: []
items:
type: string