Add Host-global thinking and reply language controls.

Inject systemPrompt sections from Netx Ops settings so every preset can switch CoT and final-reply language without changing API/alarm lang.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-15 20:15:54 +08:00
parent 53c47fbc6a
commit d52c05e774
14 changed files with 652 additions and 25 deletions

View file

@ -7,8 +7,9 @@
# github: packages as transitive deps of this package). Install them in the
# same `dsh plugin add` line — see docs/INSTALL.md.
#
# After install, open Settings → Plugins to edit apiUrl / lang / groups
# (settings card client half; see docs/INSTALL.md). Token: credential NETX_API_TOKEN.
# After install, open Settings → Plugins to edit apiUrl / lang / thinking+reply
# language / groups (settings card client half; see docs/INSTALL.md).
# Token: credential NETX_API_TOKEN. Model language is Host-global (all presets).
- insert:
- id: netxops
@ -16,6 +17,8 @@
config:
apiUrl: http://127.0.0.1:8890
lang: zh
thinkingLanguage: auto
replyLanguage: follow-user
nmsProvider: zte-ume
tokenCredentialRef: NETX_API_TOKEN
toolCallTimeoutMs: 120000