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:
oliver 2026-05-19 22:14:44 +08:00
parent 3a467704d6
commit f1626195f7
12 changed files with 86 additions and 27 deletions

View file

@ -2,7 +2,7 @@
## 输入约束:
- 用户任务可能涉及文件、目录、PDF、URL、代码仓库、数据库查询。
- 默认中文回答;用户明确要求英文时再切换。
- 使用用户输入的语言回答(含表格标题、小节标题与说明文字)。
## 执行规则:
1. 涉及外部数据/执行动作时,必须优先调用可用工具,不允许猜测式回答。