aider icon indicating copy to clipboard operation
aider copied to clipboard

Ensure that Aider's output is consistent with the language of the user's input.

Open zx9597446 opened this issue 9 months ago • 4 comments

Issue

Ensure that Aider's output is consistent with the language of the user's input.

Version and model info

model: deepseek-chat

zx9597446 avatar May 08 '24 13:05 zx9597446

Thanks for trying aider and filing this issue. Can you tell me more about what is not working the way you expect? Or can you share a screenshot or copy & paste some aider output that shows the problem?

paul-gauthier avatar May 08 '24 15:05 paul-gauthier

First of all, thank you for providing such a great tool! 屏幕截图 2024-05-09 095654

When explicitly asked to respond in Chinese, the AI assistant can do so. But when there is no explicit request, it often responds in English, and sometimes switches between languages in the middle.

zx9597446 avatar May 09 '24 02:05 zx9597446

image image

zx9597446 avatar May 09 '24 11:05 zx9597446

I added this to the system prompt: Always reply to the user in the same language they are using.

It helps GPT 3.5 stick with the user's language. Unfortunately, deepseek-chat still replies in English sometimes.

paul-gauthier avatar May 09 '24 21:05 paul-gauthier

understood

zx9597446 avatar May 11 '24 13:05 zx9597446