[GH-ISSUE #17251] fix #16707 folow-ups language #56885

Closed
opened 2026-05-05 20:12:21 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @light-and-ray on GitHub (Sep 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17251

Problem Description

Recently you added this behavior in this issue: https://github.com/open-webui/open-webui/issues/16707

Particularity in this commit 094a82b264 and it worked fine

This prompt worked:

Suggest 3-5 relevant follow-up questions or prompts in the chat's primary language that the user might naturally ask next in this conversation as a user, based on the chat history, to help continue or deepen the discussion.

But then you reverted it for some reason in this commit a37d411dcf

This part of prompt existed before the original issue was created and exists now

  • Use the conversation's primary language; default to English if multilingual

But this prompt part doesn't work and didn't work, because LLM thinks if it is multilingual, if should switch to English. Actually it shouldn't switch to English, even if the conversation is multilingual. For example if a conversation in Korean and Japan, it's very undesired behavior to switch to English

Desired Solution you'd like

Remove ; default to English if multilingual from the prompt

Alternatives Considered

Remove - Use the conversation's primary language; default to English if multilingual and return this commit 094a82b264

Please do not close this issue if it's not resolved, like you did with my previous issue

Originally created by @light-and-ray on GitHub (Sep 7, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17251 ### Problem Description Recently you added this behavior in this issue: https://github.com/open-webui/open-webui/issues/16707 Particularity in this commit https://github.com/open-webui/open-webui/commit/094a82b264e9a3571b54012577113a3696667890 and it worked fine This prompt worked: > Suggest 3-5 relevant follow-up questions or prompts __in the chat's primary language__ that the user might naturally ask next in this conversation as a **user**, based on the chat history, to help continue or deepen the discussion. But then you reverted it for some reason in this commit https://github.com/open-webui/open-webui/commit/a37d411dcffcb4b0dc90f7f40a8669e6f27c5947 This part of prompt existed before the original issue was created and exists now > - Use the conversation's primary language; default to English if multilingual But this prompt part doesn't work and didn't work, because LLM thinks if it is multilingual, if should switch to English. Actually it shouldn't switch to English, even if the conversation is multilingual. For example if a conversation in Korean and Japan, it's very undesired behavior to switch to English ### Desired Solution you'd like Remove `; default to English if multilingual` from the prompt ### Alternatives Considered Remove `- Use the conversation's primary language; default to English if multilingual` and return this commit https://github.com/open-webui/open-webui/commit/094a82b264e9a3571b54012577113a3696667890 Please do not close this issue if it's not resolved, like you did with my previous issue
Author
Owner

@tjbck commented on GitHub (Sep 7, 2025):

PR welcome.

<!-- gh-comment-id:3263333195 --> @tjbck commented on GitHub (Sep 7, 2025): PR welcome.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#56885