This commit is contained in:
Timothy J. Baek 2024-05-19 12:06:58 -07:00
parent 6e6302a4a2
commit 4d27ecef1e
2 changed files with 4 additions and 4 deletions

View File

@ -339,7 +339,7 @@
? { ? {
role: 'system', role: 'system',
content: content:
$settings.system + !!(responseMessage?.userContext ?? null) $settings.system + (responseMessage?.userContext ?? null)
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}` ? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
: '' : ''
} }
@ -598,7 +598,7 @@
? { ? {
role: 'system', role: 'system',
content: content:
$settings.system + !!(responseMessage?.userContext ?? null) $settings.system + (responseMessage?.userContext ?? null)
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}` ? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
: '' : ''
} }

View File

@ -345,7 +345,7 @@
? { ? {
role: 'system', role: 'system',
content: content:
$settings.system + !!(responseMessage?.userContext ?? null) $settings.system + (responseMessage?.userContext ?? null)
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}` ? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
: '' : ''
} }
@ -604,7 +604,7 @@
? { ? {
role: 'system', role: 'system',
content: content:
$settings.system + !!(responseMessage?.userContext ?? null) $settings.system + (responseMessage?.userContext ?? null)
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}` ? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
: '' : ''
} }