for Chinese,show thinking use Chinese please
Problem
when I choose Chinese language,I would like to see the thinking as Chinese.
Proposed solution
Alternatives considered
Additional context
Think too much, this obvious model problem, expect the whale brothers to solve it for you? Could it be that the thinking of returning asked the whale brothers to translate it for you? 想多了,这明显模型的问题,指望鲸鱼兄弟给你解决?难不成返回的 thinking 让鲸鱼兄弟给你翻译了?
#683 重复了
@douglarek
恰恰相反,不是模型的问题!
模型本身训练语料是多语言的,所以既支持英文思考也支持中文思考。
所以这里就是工具的问题。
@BigMFL
我更偏向于按 #683 建议的方式在memory.md 或 AGENTS.md 里设置语言偏好以限制thinking输出语言
恰恰相反,不是模型的问题!
既然不是模型的问题,为什么你用中文提问他用英文思考链?这是最基本的指令遵循啊,难道说思考链可以不遵循指令?在另一个 issue 中提问者问的很明白啊,为什么其他家能做到,这为什么不能是模型的问题?另外我赞成用 memory.md 或者 agents.md 啊,这同样是给模型擦屁股啊。
R1 论文 (arXiv:2501.12948):
Language mixing DeepSeek-R1 is at present optimized for Chinese and English, which may result in language-mixing issues when handling queries in other languages. For instance, DeepSeek-R1 might use English for reasoning and responses, even if the query is in a language other than English or Chinese. We aim to address this limitation in future updates. The limitation may be related to the base checkpoint, DeepSeek-V3 Base, which mainly uses Chinese and English, so that it can achieve better results with the two languages in reasoning.
既然不是模型的问题,为什么你用中文提问他用英文思考链?这是最基本的指令遵循啊,难道说思考链可以不遵循指令?在另一个 issue 中提问者问的很明白啊,为什么其他家能做到,这为什么不能是模型的问题? If it's not the model's problem, then why did it use an English reasoning chain when you asked in Chinese? This is a basic instruction-following capability. Are you saying the reasoning chain doesn't need to follow instructions? In another issue, the questioner made it very clear: why can other models do this, and why can't this be an issue with the model itself?
我认为部分原因在于,目前的 system prompt 及其他上下文内容均为英文,只有用户自己输入的 prompt 是中文,而且在大多数情况下,用户输入的文本只占上下文的极小一部分。因此,模型选择使用上下文中出现频率最高的语言也不足为奇。
I think part of the reason is that the current system prompt and other context are all in English, with only the user's own input being in Chinese. Moreover, in most cases, the user's input only accounts for a very small portion of the entire context. Therefore, it's hardly surprising that the model chooses to use the most frequent language in the context.
另外,我认为单纯把问题归结为模型能力不足并不是这个问题的终点。既然 DeepSeek 在语言跟随方面存在困难,那么作为一个聚焦于 DeepSeek 的 Agent 项目,我们当然应该针对其优缺点进行量身定制,通过工程的方式来有针对性地解决这个问题。因此我不认为这个issue是“想多了”,并且我认为这正是我们鲸鱼兄弟们需要解决的问题。
Furthermore, I believe simply blaming the model's lack of capability is not the end of the matter. Since DeepSeek does have difficulty with language adherence, an agent project that focuses on DeepSeek should naturally tailor its approach to the model's strengths and weaknesses, and solve this problem systematically through engineering techniques. Therefore, I don't think this issue is off-topic or "Think too much"; rather, I believe it's exactly what we whale bros should solve in this project.
- 论文用词非常明确:使用其他语言的时候,模型可能使用英文思考。所以同样可能使用中文思考,论文指出这里思考的语言是不确定的。而这些不确定性是可以通过外部工具对模型进行引导的,这正式这些工具存在的意义(赞同 @INFCode 认为工具应该解决问题的观点)。
- 所以模型并不存在所谓的在中英文处理上的缺陷。。。只是我们要如何按自己的需求去使用它而已。
我觉得并不算是什么“给模型擦屁股”,而是一种正确的使用方式而已,就像你要用好claude的模型,你也需要一个适配很好的agent才能发挥模型的真正实力,如果没有精心设计的提示词以及工具,那么claude模型能做的事情也很有限...
这个问题我知道怎么解决,是模型上下文的指令问题。只是我今天的解决思路有问点问题,导致多伦对话后出现问题,我明天去优化下,提交一个合并请求,就可以解决思考链路的问题。
yes, thank you - I have started to try this with the base prompt - the current one asks DS to respond in the language that they are prompted in. It's quite possible that the overall environment skews heavily english though and this leads to these effects. let me brainstorm how to best solve this while providing the best experience for everyone
我会提交一个功能,是解决这个问题的,基于0.8.12开发的
---- Replied Message ---- | From | Hunter @.> | | Date | 05/06/2026 02:04 | | To | Hmbown/DeepSeek-TUI @.> | | Cc | 杨英 @.>, Comment @.> | | Subject | Re: [Hmbown/DeepSeek-TUI] for Chinese,show thinking use Chinese please (Issue #732) | Hmbown left a comment (Hmbown/DeepSeek-TUI#732)
yes, thank you - I have started to try this with the base prompt - the current one asks DS to respond in the language that they are prompted in. It's quite possible that the overall environment skews heavily english though and this leads to these effects. let me brainstorm how to best solve this while providing the best experience for everyone
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Verified on current main as shipped for the specific thinking-language request. The base prompt now tells the model to use the resolved ## Environment language for both reasoning_content and the final reply, including Simplified Chinese when lang is zh-Hans / zh-CN (crates/tui/src/prompts/base.md:3-7). The prompt builder also injects the resolved locale into ## Environment before instructions/skills (crates/tui/src/prompts.rs:50-64, crates/tui/src/prompts.rs:387-396).
Verification run:
cargo test -p deepseek-tui environment_block --locked
That passed and covers the locale block insertion path. Closing this specific issue; the broader UI localization request remains tracked separately in #740.