mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-07 21:46:12 +08:00
优化AI助手提示词,解决deepseek-v3返回```markdown开头的代码的BUG
This commit is contained in:
parent
65936e7d0d
commit
f9e0c29c08
@ -312,7 +312,7 @@ export default defineComponent({
|
|||||||
const specificInstructions = languageSpecific[language] || "";
|
const specificInstructions = languageSpecific[language] || "";
|
||||||
|
|
||||||
const lastInstructions =
|
const lastInstructions =
|
||||||
"\n请直接给我MARKDOWN格式的代码,任何情况下都不需要做解释和说明";
|
"\n请直接给我MARKDOWN格式的代码(以```脚本语言开头,以```结尾),任何情况下都不需要做解释和说明";
|
||||||
|
|
||||||
return commonInstructions + specificInstructions + lastInstructions;
|
return commonInstructions + specificInstructions + lastInstructions;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user