Commit 4d27ecef authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent 6e6302a4
...@@ -339,7 +339,7 @@ ...@@ -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 @@ ...@@ -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')}`
: '' : ''
} }
......
...@@ -345,7 +345,7 @@ ...@@ -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 @@ ...@@ -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')}`
: '' : ''
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment