mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
commit
2ce6535a2d
@ -345,8 +345,8 @@
|
||||
? {
|
||||
role: 'system',
|
||||
content:
|
||||
$settings.system + (responseMessage?.userContext ?? null)
|
||||
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
|
||||
$settings.system + responseMessage?.userContext ?? null
|
||||
? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
|
||||
: ''
|
||||
}
|
||||
: undefined,
|
||||
@ -605,7 +605,7 @@
|
||||
role: 'system',
|
||||
content:
|
||||
$settings.system + (responseMessage?.userContext ?? null)
|
||||
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
|
||||
? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
|
||||
: ''
|
||||
}
|
||||
: undefined,
|
||||
|
@ -351,8 +351,8 @@
|
||||
? {
|
||||
role: 'system',
|
||||
content:
|
||||
$settings.system + (responseMessage?.userContext ?? null)
|
||||
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
|
||||
$settings.system + responseMessage?.userContext ?? null
|
||||
? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
|
||||
: ''
|
||||
}
|
||||
: undefined,
|
||||
@ -611,7 +611,7 @@
|
||||
role: 'system',
|
||||
content:
|
||||
$settings.system + (responseMessage?.userContext ?? null)
|
||||
? `\n\nUser Context:\n${responseMessage.userContext.join('\n')}`
|
||||
? `\n\nUser Context:\n${(responseMessage?.userContext ?? []).join('\n')}`
|
||||
: ''
|
||||
}
|
||||
: undefined,
|
||||
|
Loading…
Reference in New Issue
Block a user