You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to make opencode always reply in another language (for example: Chinese), including the /init command. #2594
I followed the instructions given above to make the configuration, and then attempted to interact with OpenCode in 2 to 3 different models. It works for me either way.
Additionally, in the "thinking block" of the reasoning model, I observed "... ,but they previously stated that they only speak Mandarin and want me to always respond in Chinese. I should respond in Chinese as requested. …”
Activity
github-actions commentedon Sep 14, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case of configuring opencode to always respond in Chinese.
rekram1-node commentedon Sep 14, 2025
I think you could make a global AGENTS.md and include things like:
You most likely would want this prompt to be at least a few sentences and consider using xml tag style sections to help llm.
Here are docs for AGENTS.md files. You also may want your prompt to be in chinese instead of english too btw.
rekram1-node commentedon Sep 14, 2025
Can you try that and lmk how it works for u?
canomh commentedon Sep 15, 2025
I followed the instructions given above to make the configuration, and then attempted to interact with OpenCode in 2 to 3 different models. It works for me either way.
Additionally, in the "thinking block" of the reasoning model, I observed "... ,but they previously stated that they only speak Mandarin and want me to always respond in Chinese. I should respond in Chinese as requested. …”