pref: imporve Prompt
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
zhangzhanwei 2025-09-19 10:51:59 +08:00 committed by zhanweizhang7
parent 5c0dfa8c96
commit bda02137e5
2 changed files with 6 additions and 1 deletions

View File

@ -773,7 +773,6 @@ const submit = async (formEl: FormInstance | undefined) => {
if (!formEl) return
await formEl.validate((valid, fields) => {
if (valid) {
console.log(applicationForm.value)
loadSharedApi({ type: 'application', systemType: apiType.value })
.putApplication(id, applicationForm.value, loading)
.then(() => {

View File

@ -130,6 +130,10 @@ const promptTemplates = {
请按以下格式生成
必须严格遵循以下规则
1. **严格禁止输出解释前言额外说明**只输出最终结果
2. **严格使用以下格式**不能缺少标题不能多出其他段落
# 角色:
@ -157,6 +161,8 @@ const promptTemplates = {
- 不得提供任何与角色设定无关的回答
2. 描述角色在互动过程中需要遵循的限制条件2
3. 描述角色在互动过程中需要遵循的限制条件3
输出时不得包含任何解释或附加说明只能返回符合以上格式的内容
`,
}