mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 13:29:53 +00:00
fix
This commit is contained in:
parent
6e6302a4a2
commit
4d27ecef1e
@ -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')}`
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
|
@ -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')}`
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user