hermes - 💡(How to fix) Fix Support localized system prompt to align model thinking language

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

When using DeepSeek V4 Pro (or other models), the model's internal reasoning/thinking language defaults to English even when the user communicates entirely in Chinese. This is because Hermes's entire system prompt — tool descriptions, instructions, environment hints, skill content — is in English, anchoring the model to think in English.

RAW_BUFFERClick to expand / collapse

Feature Description

When using DeepSeek V4 Pro (or other models), the model's internal reasoning/thinking language defaults to English even when the user communicates entirely in Chinese. This is because Hermes's entire system prompt — tool descriptions, instructions, environment hints, skill content — is in English, anchoring the model to think in English.

On DeepSeek's official web chat, the same model thinks in Chinese because the surrounding context is all Chinese.

Proposed Solution

Provide a display.language setting that translates key system prompt components (tool descriptions, core instructions) into the target language, or at minimum injects a strong language directive into the system prompt to align the model's thinking language with the user's language.

Minimally, a hermes config set display.language zh-CN could:

  1. Translate core identity and instruction blocks
  2. Add a directive like "Prefer thinking in the same language as the user"
  3. Eventually support full tool description localization

Motivation

  • Non-English users get a disjointed experience: chat in native language, but model thinks in English
  • Thinking in the user's language improves reasoning quality for language-specific tasks
  • Other AI products (DeepSeek web, ChatGPT) already align thinking language to UI language

Environment

  • WSL2 Ubuntu 26.04
  • Hermes Agent (latest)
  • DeepSeek V4 Pro via api.deepseek.com

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Support localized system prompt to align model thinking language