fix: let a chat's Stream Chat Response setting override the account-wide one (#31362)

This commit is contained in:
G30 2026-09-25 00:08:56 -04:00 • committed by GitHub
parent db697c7e61
commit 2c922bb537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3540,8 +3540,8 @@
const stream =
model?.info?.params?.stream_response ??
$settings?.params?.stream_response ??
params?.stream_response ??
$settings?.params?.stream_response ??
true;
// Always include system prompt — backend extracts it and prepends to DB messages.
// Only temp chats need conversation messages (persisted chats load from DB).