feat: Use chat language for follow-ups #6129

Closed
opened 2025-11-11 16:45:36 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @light-and-ray on GitHub (Aug 18, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

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

Image

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

Originally created by @light-and-ray on GitHub (Aug 18, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### 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 <img width="3135" height="1521" alt="Image" src="https://github.com/user-attachments/assets/6bd9d36b-cc68-4e62-99f1-96f26b3166ff" /> ### 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_
Author
Owner

@tjbck commented on GitHub (Aug 18, 2025):

Addressed with 094a82b264 in dev!

@tjbck commented on GitHub (Aug 18, 2025): Addressed with 094a82b264e9a3571b54012577113a3696667890 in dev!
Author
Owner

@light-and-ray commented on GitHub (Sep 1, 2025):

@tjbck I see you changed this patch and it reverted the behaviour back to bad

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

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): @tjbck I see you changed this patch and it reverted the behaviour back to bad > - Use the conversation's primary language; default to English if multilingual. 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
Author
Owner

@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

@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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6129