dsh-subagent-default-model 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/client.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -52,8 +52,8 @@ window.__ModuleLoader__.load({
|
|
|
52
52
|
"row.toastSaved": "子代理默认模型设置已保存。",
|
|
53
53
|
"row.failoverEnabled": "连接失败时按队列与策略切换模型",
|
|
54
54
|
"row.failoverHint": "(需配置 ≥2 个 Provider,切换才会生效)。",
|
|
55
|
-
"row.trajectoryModel": "
|
|
56
|
-
"row.chatModelInitial": "
|
|
55
|
+
"row.trajectoryModel": "当前供应商/模型",
|
|
56
|
+
"row.chatModelInitial": "当前供应商/模型",
|
|
57
57
|
"row.chatModelChange": "已切换到",
|
|
58
58
|
"row.chatModelResume": "继续使用"
|
|
59
59
|
};
|
|
@@ -80,8 +80,8 @@ window.__ModuleLoader__.load({
|
|
|
80
80
|
"row.toastSaved": "Subagent default model settings saved.",
|
|
81
81
|
"row.failoverEnabled": "Switch models by queue and strategy on connection failure",
|
|
82
82
|
"row.failoverHint": "(requires at least 2 configured providers).",
|
|
83
|
-
"row.trajectoryModel": "
|
|
84
|
-
"row.chatModelInitial": "
|
|
83
|
+
"row.trajectoryModel": "Current provider/model",
|
|
84
|
+
"row.chatModelInitial": "Current provider/model",
|
|
85
85
|
"row.chatModelChange": "Switched to",
|
|
86
86
|
"row.chatModelResume": "Resumed on"
|
|
87
87
|
};
|
|
@@ -421,7 +421,7 @@ window.__ModuleLoader__.load({
|
|
|
421
421
|
// agent-loop appends a `request/context` frame (provider/model) whenever
|
|
422
422
|
// the provider or model changes — failover switches trigger it with zero
|
|
423
423
|
// host changes. Register a trajectory definition that renders that frame
|
|
424
|
-
// as a compact "
|
|
424
|
+
// as a compact "Current provider/model" row inside the subagent's trajectory view.
|
|
425
425
|
if (ctx.conversationEvents && typeof ctx.conversationEvents.register === "function") {
|
|
426
426
|
var trajectoryT = ctx.locale.bind(SUBAGENT_ROW_LOCALE);
|
|
427
427
|
var modelContextDefinition = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-subagent-default-model",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Configure default model routes for DeepSeek Harness subagents, with single-model, round-robin, random, and per-route reasoning-effort options.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|