This commit is contained in:
archer
2023-08-24 09:33:16 +08:00
parent 7f48acc42e
commit dfc40db835

View File

@@ -211,7 +211,7 @@ function filterQuote({
const quotePrompt =
filterQuoteQA.length > 0
? `"""${filterQuoteQA
.map((item) => (item.a ? `${item.q}\n${item.a}` : item.q))
.map((item) => (item.a ? `[${item.q}\n${item.a}]` : `[${item.q}]`))
.join('\n\n')}"""`
: '';