mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
feat: Use chat language for follow-ups #6129
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @light-and-ray on GitHub (Aug 18, 2025).
Check Existing Issues
Problem Description
There is an undesired behavior, when chat is not in English, the folow-ups are in English. Maybe it depends on the UI language, not exactly on English, but it's still an undesired behavior because follow-ups should be in the same language that user and AI use in the chat
Desired Solution you'd like
Add a sentence "Use the same language used in the chat" or similar into the default follow-up generation prompt
Alternatives Considered
No response
Additional Context
No response
@tjbck commented on GitHub (Aug 18, 2025):
Addressed with
094a82b264in dev!@light-and-ray commented on GitHub (Sep 1, 2025):
@tjbck I see you changed this patch and it reverted the behaviour back to bad
I think this prompt is bad, the model thinks it is multilingual so it uses English, in spite of the chat being entirely in Russian
@light-and-ray commented on GitHub (Sep 1, 2025):
Generally I don't see why you mentioned English at all. If conversation is a mix between Japanese and Korean for instance, why should it switch to English