feat:格式化yaml文件
This commit is contained in:
@@ -1,61 +1,61 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40117
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "sk-xxx"
|
||||
edit: true
|
||||
envKey: API_KEY
|
||||
labelEn: OPENAI API KEY
|
||||
labelZh: OPENAI API KEY
|
||||
required: true
|
||||
type: text
|
||||
- default: "happychatgpt"
|
||||
edit: true
|
||||
envKey: SECRET_KEY
|
||||
labelEn: Access rights key, optional (recommended)
|
||||
labelZh: 访问权限密钥,可选(强烈建议填写)
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: HTTPS_PROXY
|
||||
labelEn: HTTPS proxy (http://127.0.0.1:7890)
|
||||
labelZh: HTTPS代理 (http://127.0.0.1:7890)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: API_BASE_URL
|
||||
labelEn: API interface address (https://api.openai.com)
|
||||
labelZh: API接口地址 (https://api.openai.com)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: API_MODEL
|
||||
labelEn: API model, optional (https://platform.openai.com/docs/models)
|
||||
labelZh: API模型,可选 (https://platform.openai.com/docs/models)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: HEAD_SCRIPTS_VAULE
|
||||
labelEn: Inject </head> analytics or other scripts before the page
|
||||
labelZh: 在页面的 </head> 之前注入分析或其他脚本
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: PUBLIC_SECRET_KEY_VAULE
|
||||
labelEn: The secret string for the project. The signature used to generate the API call
|
||||
labelZh: 项目的秘密字符串。用于生成 API 调用的签名
|
||||
required: false
|
||||
type: text
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40117
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "sk-xxx"
|
||||
edit: true
|
||||
envKey: API_KEY
|
||||
labelEn: OPENAI API KEY
|
||||
labelZh: OPENAI API KEY
|
||||
required: true
|
||||
type: text
|
||||
- default: "happychatgpt"
|
||||
edit: true
|
||||
envKey: SECRET_KEY
|
||||
labelEn: Access rights key, optional (recommended)
|
||||
labelZh: 访问权限密钥,可选(强烈建议填写)
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: HTTPS_PROXY
|
||||
labelEn: HTTPS proxy (http://127.0.0.1:7890)
|
||||
labelZh: HTTPS代理 (http://127.0.0.1:7890)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: API_BASE_URL
|
||||
labelEn: API interface address (https://api.openai.com)
|
||||
labelZh: API接口地址 (https://api.openai.com)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: API_MODEL
|
||||
labelEn: API model, optional (https://platform.openai.com/docs/models)
|
||||
labelZh: API模型,可选 (https://platform.openai.com/docs/models)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: HEAD_SCRIPTS_VAULE
|
||||
labelEn: Inject </head> analytics or other scripts before the page
|
||||
labelZh: 在页面的 </head> 之前注入分析或其他脚本
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: PUBLIC_SECRET_KEY_VAULE
|
||||
labelEn: The secret string for the project. The signature used to generate the API call
|
||||
labelZh: 项目的秘密字符串。用于生成 API 调用的签名
|
||||
required: false
|
||||
type: text
|
||||
|
||||
Reference in New Issue
Block a user