mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 01:50:44 +08:00
fix(chat): honor ui_lang on WebSocket turns; ops NE display by host_name
Resolve runtime language from ui_lang and chat.send lang instead of hardcoding zh. Align generalist/ops prompts with user language and require host_name (not ne_id) in ops outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
3a467704d6
commit
f1626195f7
12 changed files with 86 additions and 27 deletions
|
|
@ -4134,6 +4134,7 @@ async function renderChatUi() {
|
|||
memory_mode: String(memoryMode || "default"),
|
||||
execution_mode: String(executionMode || "agent"),
|
||||
plan_agent_version: outboundPlanAgentVersion(),
|
||||
lang: currentLang === "en" ? "en" : "zh",
|
||||
},
|
||||
};
|
||||
this.ws.send(JSON.stringify(req));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue