This commit is contained in:
archer 2023-08-24 09:33:16 +08:00
parent 7f48acc42e
commit dfc40db835
No known key found for this signature in database
GPG Key ID: 166CA6BF2383B2BB

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')}"""`
: '';