dsh-thinking-levels 3.4.4 → 4.0.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.ja.md +27 -0
- package/CHANGELOG.ko.md +27 -0
- package/CHANGELOG.md +27 -0
- package/INSTALL.ja.md +191 -164
- package/INSTALL.ko.md +191 -164
- package/INSTALL.md +23 -7
- package/INSTALL.zh.md +192 -176
- package/LICENSE +21 -21
- package/README.de.md +227 -0
- package/README.es.md +227 -0
- package/README.fr.md +227 -0
- package/README.it.md +226 -0
- package/README.ja.md +17 -2
- package/README.ko.md +17 -2
- package/README.md +20 -4
- package/README.ru.md +227 -0
- package/README.zh.md +17 -2
- package/cordis.patch.yml +3 -3
- package/dsh.plugin.json +2 -2
- package/lib/client.js +708 -691
- package/lib/client.js.map +1 -1
- package/package.json +18 -19
- package/locale/de.json +0 -6
- package/locale/en.json +0 -6
- package/locale/es.json +0 -6
- package/locale/fr.json +0 -6
- package/locale/it.json +0 -6
- package/locale/ja.json +0 -6
- package/locale/ko.json +0 -6
- package/locale/ru.json +0 -6
- package/locale/zh.json +0 -6
package/lib/client.js
CHANGED
|
@@ -10,692 +10,698 @@ window.__ModuleLoader__.load({
|
|
|
10
10
|
/** `thinking-levels` client dictionaries (zh / en / ja / ko / fr / de / it / ru / es). */
|
|
11
11
|
/** Dictionary namespace owned by this plugin. */
|
|
12
12
|
const NS = "thinking-levels";
|
|
13
|
-
/**
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
13
|
+
/** Simplified Chinese dictionary (the key-set source of truth). */
|
|
14
|
+
const zh = {
|
|
15
|
+
"card.title": "思考档位",
|
|
16
|
+
"family.title": "起子插件设置",
|
|
17
|
+
"card.description": "在模型选择器中可选 Auto(mask):按工具调用历史自动在 low / high / max 间调度后提交 API。此处配置默认档位、调度边界与模型能力(档位 → 网关线上值映射)。",
|
|
18
|
+
"card.level": "默认档位",
|
|
19
|
+
"card.level.off": "off — 关闭思考(仅手动,永不自动选择)",
|
|
20
|
+
"card.level.on": "on — 开启思考(仅 toggle 型模型;只发 enable_thinking,不发 effort)",
|
|
21
|
+
"card.level.minimal": "minimal — 最低(极轻任务)",
|
|
22
|
+
"card.level.low": "low — 低(简单任务,廉价轮保持廉价)",
|
|
23
|
+
"card.level.medium": "medium — 中",
|
|
24
|
+
"card.level.high": "high — 高(官方默认)",
|
|
25
|
+
"card.level.xhigh": "xhigh — 特高",
|
|
26
|
+
"card.level.max": "max — 最大(重任务)",
|
|
27
|
+
"card.level.auto": "auto — 按工具历史自动调度(默认)",
|
|
28
|
+
"card.enabled": "启用",
|
|
29
|
+
"card.allowDowngrade": "允许降档(auto 可降至 low)",
|
|
30
|
+
"card.allowUpgrade": "允许升档(auto 可升至 max)",
|
|
31
|
+
"card.unavailable": "设置命名空间不可用:请确认 dsh-thinking-levels 已装配进 profile。",
|
|
32
|
+
"card.readonly": "只读",
|
|
33
|
+
"card.capabilities": "模型能力(llm-pi-ai 自定义提供方)",
|
|
34
|
+
"card.capabilities.hint": "直接读写 llm-pi-ai 配置:勾选档位并填写发送给网关的线上值(例如 high → ultra);off 留空表示不发送。视觉决定图片输入;思考开关决定 enable_thinking 置位;thinkingFormat 决定 wire 序列化格式。",
|
|
35
|
+
"card.capabilities.empty": "llm-pi-ai 中没有已配置模型的自定义提供方。请先在「设置 → 模型」添加提供方与模型。",
|
|
36
|
+
"card.capabilities.unavailable": "llm-pi-ai 设置命名空间不可用。",
|
|
37
|
+
"card.capabilities.none": "(无模型)",
|
|
38
|
+
"card.capabilities.search": "搜索模型(名称或 ID)…",
|
|
39
|
+
"card.capabilities.noMatches": "没有匹配的模型",
|
|
40
|
+
"card.capabilities.quickSettings": "一键设置",
|
|
41
|
+
"card.capabilities.presetOfficial": "应用到全部:Off / High / Max(官方 DeepSeek 风格)",
|
|
42
|
+
"card.capabilities.presetGeneric": "应用到全部:Off / Low / Medium / High(通用)",
|
|
43
|
+
"card.capabilities.vendor": "提供方",
|
|
44
|
+
"card.capabilities.developerRole": "网关不支持 developer 角色",
|
|
45
|
+
"card.capabilities.developerRoleHint": "官方兼容开关(dsh ≥ v0.1.0-rc.8):写入路由级 compat.supportsDeveloperRole: false,系统提示词按 system 角色发送,修复 vLLM / SGLang 等网关的 Unexpected message role 400。取消勾选 = 删除该字段、恢复继承。",
|
|
46
|
+
"card.capabilities.expandProvider": "展开提供方",
|
|
47
|
+
"card.capabilities.collapseProvider": "收起提供方",
|
|
48
|
+
"card.capabilities.openModelSettings": "打开模型设置",
|
|
49
|
+
"card.capabilities.closeModelSettings": "收起模型设置",
|
|
50
|
+
"card.capabilities.vision": "视觉模型",
|
|
51
|
+
"card.capabilities.thinking": "思考模型",
|
|
52
|
+
"card.capabilities.supportsEffort": "支持 think effort",
|
|
53
|
+
"card.capabilities.efforts": "思考档位(勾选后填写线上值)",
|
|
54
|
+
"card.capabilities.wirePlaceholder": "线上值,如 ultra",
|
|
55
|
+
"card.capabilities.offPlaceholder": "留空 = 不发送",
|
|
56
|
+
"card.capabilities.atLeastThinking": "至少需要一个思考档位(off 除外)",
|
|
57
|
+
"card.capabilities.applyLevel": "应用此档位",
|
|
58
|
+
"card.capabilities.restoreDefault": "恢复默认档位",
|
|
59
|
+
"card.capabilities.unsaved": "未保存",
|
|
60
|
+
"card.capabilities.saveChanges": "保存更改",
|
|
61
|
+
"card.capabilities.saved": "已保存",
|
|
62
|
+
"card.capabilities.thinkingFormat": "思考格式",
|
|
63
|
+
"card.capabilities.thinkingFormat.inherit": "继承",
|
|
64
|
+
"card.capabilities.contextWindow": "上下文窗口上限",
|
|
65
|
+
"card.capabilities.contextCustomPlaceholder": "自定义整数,如 256000",
|
|
66
|
+
"card.capabilities.contextClear": "清除",
|
|
67
|
+
"card.capabilities.contextInteger": "上下文长度必须是整数(2000-1000000)",
|
|
68
|
+
"card.capabilities.contextRange": "上下文长度必须在 2000 到 1000000 之间",
|
|
69
|
+
"card.capabilities.contextHint": "选择预设或输入整数(2000–1000000),写入 llm-pi-ai 供上下文压力/压缩使用,无需重启即对下一请求生效。",
|
|
70
|
+
"input.context.title": "上下文窗口",
|
|
71
|
+
"input.context.globalHint": "全局生效:作用于所有使用该模型的会话(清除可恢复默认)",
|
|
72
|
+
"input.context.unset": "未设",
|
|
73
|
+
"input.context.custom": "自定义",
|
|
74
|
+
"input.context.noModel": "暂无会话模型",
|
|
75
|
+
"input.context.customPlaceholder": "自定义整数,如 256000",
|
|
76
|
+
"input.context.apply": "应用",
|
|
77
|
+
"input.context.clear": "清除",
|
|
78
|
+
"input.context.integer": "上下文长度必须是整数(2000-1000000)",
|
|
79
|
+
"input.context.range": "上下文长度必须在 2000 到 1000000 之间",
|
|
80
|
+
"model.panel.choose": "选择模型",
|
|
81
|
+
"model.panel.loading": "模型目录加载中…",
|
|
82
|
+
"model.panel.empty": "没有可用模型",
|
|
83
|
+
"model.panel.window": "窗口",
|
|
84
|
+
"model.panel.noTarget": "该模型没有可写的配置项",
|
|
85
|
+
"model.panel.unavailable": "当前会话的模型目录不可用",
|
|
86
|
+
"input.effort.title": "思考强度",
|
|
87
|
+
"input.effort.default": "提供方默认",
|
|
88
|
+
"card.capabilities.failed": "保存失败:配置被拒绝或冲突,请检查值。"
|
|
89
|
+
};
|
|
90
|
+
/** English dictionary (keys mirror zh). */
|
|
91
|
+
const en = {
|
|
92
|
+
"card.title": "Thinking Levels",
|
|
93
|
+
"family.title": "Qizi Plugin Settings",
|
|
94
|
+
"card.description": "Pick Auto in the model selector: the plugin schedules low / high / max per tool round before submitting the API effort. Here you configure the default level, scheduler bounds, and per-model capabilities (level → gateway wire value mapping).",
|
|
95
|
+
"card.level": "Default level",
|
|
96
|
+
"card.level.off": "off — disable thinking (manual only, never auto-picked)",
|
|
97
|
+
"card.level.on": "on — enable thinking (toggle-only models only; sends enable_thinking, never an effort)",
|
|
98
|
+
"card.level.minimal": "minimal — least (very light tasks)",
|
|
99
|
+
"card.level.low": "low — cheap rounds stay cheap",
|
|
100
|
+
"card.level.medium": "medium — medium",
|
|
101
|
+
"card.level.high": "high — the official default",
|
|
102
|
+
"card.level.xhigh": "xhigh — extra high",
|
|
103
|
+
"card.level.max": "max — heavy work",
|
|
104
|
+
"card.level.auto": "auto — schedule from tool history (default)",
|
|
105
|
+
"card.enabled": "Enabled",
|
|
106
|
+
"card.allowDowngrade": "Allow downgrade (auto may drop to low)",
|
|
107
|
+
"card.allowUpgrade": "Allow upgrade (auto may lift to max)",
|
|
108
|
+
"card.unavailable": "Settings namespace unavailable: make sure dsh-thinking-levels is assembled into this profile.",
|
|
109
|
+
"card.readonly": "Read-only",
|
|
110
|
+
"card.capabilities": "Model capabilities (llm-pi-ai custom providers)",
|
|
111
|
+
"card.capabilities.hint": "Reads and writes the llm-pi-ai config directly: tick a level and enter the exact value sent to the gateway (e.g. high → ultra); leaving off empty means “do not send”. Vision gates image input; the thinking toggle drives enable_thinking; thinkingFormat picks the wire serialization.",
|
|
112
|
+
"card.capabilities.empty": "No custom provider has models configured in llm-pi-ai. Add a provider and models under Settings → Models first.",
|
|
113
|
+
"card.capabilities.unavailable": "The llm-pi-ai settings namespace is unavailable.",
|
|
114
|
+
"card.capabilities.none": "(no models)",
|
|
115
|
+
"card.capabilities.search": "Search models by name or ID…",
|
|
116
|
+
"card.capabilities.noMatches": "No matching models",
|
|
117
|
+
"card.capabilities.quickSettings": "Quick settings",
|
|
118
|
+
"card.capabilities.presetOfficial": "Apply to all: Off / High / Max (official DeepSeek style)",
|
|
119
|
+
"card.capabilities.presetGeneric": "Apply to all: Off / Low / Medium / High (generic)",
|
|
120
|
+
"card.capabilities.vendor": "Provider",
|
|
121
|
+
"card.capabilities.developerRole": "Gateway rejects the developer role",
|
|
122
|
+
"card.capabilities.developerRoleHint": "Official compat switch (dsh ≥ v0.1.0-rc.8): writes route-level compat.supportsDeveloperRole: false so the system prompt is sent as role system — fixes the Unexpected message role 400 on vLLM / SGLang gateways. Unchecking deletes the field and restores inheritance.",
|
|
123
|
+
"card.capabilities.expandProvider": "Expand provider",
|
|
124
|
+
"card.capabilities.collapseProvider": "Collapse provider",
|
|
125
|
+
"card.capabilities.openModelSettings": "Open model settings",
|
|
126
|
+
"card.capabilities.closeModelSettings": "Collapse model settings",
|
|
127
|
+
"card.capabilities.vision": "Vision model",
|
|
128
|
+
"card.capabilities.thinking": "Thinking model",
|
|
129
|
+
"card.capabilities.supportsEffort": "Supports think effort",
|
|
130
|
+
"card.capabilities.efforts": "Thinking effort levels (tick, then enter the wire value)",
|
|
131
|
+
"card.capabilities.wirePlaceholder": "Wire value, e.g. ultra",
|
|
132
|
+
"card.capabilities.offPlaceholder": "Empty = do not send",
|
|
133
|
+
"card.capabilities.atLeastThinking": "Select at least one thinking level (other than off)",
|
|
134
|
+
"card.capabilities.applyLevel": "Apply levels",
|
|
135
|
+
"card.capabilities.restoreDefault": "Restore defaults",
|
|
136
|
+
"card.capabilities.unsaved": "Unsaved",
|
|
137
|
+
"card.capabilities.saveChanges": "Save changes",
|
|
138
|
+
"card.capabilities.saved": "Saved",
|
|
139
|
+
"card.capabilities.thinkingFormat": "Thinking format",
|
|
140
|
+
"card.capabilities.thinkingFormat.inherit": "Inherit",
|
|
141
|
+
"card.capabilities.contextWindow": "Context window limit",
|
|
142
|
+
"card.capabilities.contextCustomPlaceholder": "Custom integer, e.g. 256000",
|
|
143
|
+
"card.capabilities.contextClear": "Clear",
|
|
144
|
+
"card.capabilities.contextInteger": "Context length must be an integer (2000-1000000)",
|
|
145
|
+
"card.capabilities.contextRange": "Context length must be between 2000 and 1000000",
|
|
146
|
+
"card.capabilities.contextHint": "Pick a preset or enter an integer (2000–1000000); written to llm-pi-ai for context pressure/compaction and applied to the next request without a restart.",
|
|
147
|
+
"input.context.title": "Context window",
|
|
148
|
+
"input.context.globalHint": "Applies globally to every session using this model (Clear restores the default)",
|
|
149
|
+
"input.context.unset": "Unset",
|
|
150
|
+
"input.context.custom": "Custom",
|
|
151
|
+
"input.context.noModel": "No session model yet",
|
|
152
|
+
"input.context.customPlaceholder": "Custom integer, e.g. 256000",
|
|
153
|
+
"input.context.apply": "Apply",
|
|
154
|
+
"input.context.clear": "Clear",
|
|
155
|
+
"input.context.integer": "Context length must be an integer (2000-1000000)",
|
|
156
|
+
"input.context.range": "Context length must be between 2000 and 1000000",
|
|
157
|
+
"model.panel.choose": "Choose model",
|
|
158
|
+
"model.panel.loading": "Loading the model directory…",
|
|
159
|
+
"model.panel.empty": "No models available",
|
|
160
|
+
"model.panel.window": "Window",
|
|
161
|
+
"model.panel.noTarget": "No writable config entry for this model",
|
|
162
|
+
"model.panel.unavailable": "The model directory is unavailable for this session",
|
|
163
|
+
"input.effort.title": "Reasoning effort",
|
|
164
|
+
"input.effort.default": "Provider default",
|
|
165
|
+
"card.capabilities.failed": "Save failed: the value was rejected or conflicted. Check it."
|
|
166
|
+
};
|
|
167
|
+
/** Japanese dictionary (keys mirror zh). */
|
|
168
|
+
const ja = {
|
|
169
|
+
"card.title": "思考レベル",
|
|
170
|
+
"family.title": "起子プラグイン設定",
|
|
171
|
+
"card.description": "モデルセレクターで Auto(マスク)を選択すると、ツール呼び出し履歴から low / high / max を自動スケジュールして API に送信します。ここでは既定レベル、スケジューラーの境界、モデル能力(レベル → ゲートウェイ送信値のマッピング)を設定します。",
|
|
172
|
+
"card.level": "既定レベル",
|
|
173
|
+
"card.level.off": "off — 思考を無効化(手動のみ、自動選択はされません)",
|
|
174
|
+
"card.level.on": "on — 思考を有効化(トグルのみのモデル向け。enable_thinking のみ送信、effort は送信しません)",
|
|
175
|
+
"card.level.minimal": "minimal — 最小(非常に軽いタスク)",
|
|
176
|
+
"card.level.low": "low — 低(軽いラウンドは軽いまま)",
|
|
177
|
+
"card.level.medium": "medium — 中",
|
|
178
|
+
"card.level.high": "high — 高(公式既定値)",
|
|
179
|
+
"card.level.xhigh": "xhigh — 特高",
|
|
180
|
+
"card.level.max": "max — 最大(重いタスク)",
|
|
181
|
+
"card.level.auto": "auto — ツール履歴から自動スケジュール(既定)",
|
|
182
|
+
"card.enabled": "有効",
|
|
183
|
+
"card.allowDowngrade": "降格を許可(auto は low まで下げられる)",
|
|
184
|
+
"card.allowUpgrade": "昇格を許可(auto は max まで上げられる)",
|
|
185
|
+
"card.unavailable": "設定名前空間が利用できません:dsh-thinking-levels が profile に組み込まれているか確認してください。",
|
|
186
|
+
"card.readonly": "読み取り専用",
|
|
187
|
+
"card.capabilities": "モデル能力(llm-pi-ai カスタムプロバイダー)",
|
|
188
|
+
"card.capabilities.hint": "llm-pi-ai 設定を直接読み書きします:レベルにチェックを入れ、ゲートウェイに送信する値を入力(例:high → ultra)。off を空欄にすると送信しません。視覚は画像入力を決定、思考トグルは enable_thinking を制御、thinkingFormat は wire シリアライズ形式を選択します。",
|
|
189
|
+
"card.capabilities.empty": "llm-pi-ai にモデルが設定されたカスタムプロバイダーがありません。先に「設定 → モデル」でプロバイダーとモデルを追加してください。",
|
|
190
|
+
"card.capabilities.unavailable": "llm-pi-ai の設定名前空間が利用できません。",
|
|
191
|
+
"card.capabilities.none": "(モデルなし)",
|
|
192
|
+
"card.capabilities.search": "モデル名または ID で検索…",
|
|
193
|
+
"card.capabilities.noMatches": "一致するモデルがありません",
|
|
194
|
+
"card.capabilities.quickSettings": "クイック設定",
|
|
195
|
+
"card.capabilities.presetOfficial": "すべてに適用:Off / High / Max(公式 DeepSeek 形式)",
|
|
196
|
+
"card.capabilities.presetGeneric": "すべてに適用:Off / Low / Medium / High(汎用)",
|
|
197
|
+
"card.capabilities.vendor": "プロバイダー",
|
|
198
|
+
"card.capabilities.developerRole": "ゲートウェイは developer ロール非対応",
|
|
199
|
+
"card.capabilities.developerRoleHint": "公式互換スイッチ(dsh ≥ v0.1.0-rc.8):ルートレベルの compat.supportsDeveloperRole: false を書き込み、システムプロンプトを system ロールで送信します。vLLM / SGLang などの Unexpected message role 400 を修正。チェックを外すとフィールドを削除し継承に戻します。",
|
|
200
|
+
"card.capabilities.expandProvider": "プロバイダーを展開",
|
|
201
|
+
"card.capabilities.collapseProvider": "プロバイダーを折りたたむ",
|
|
202
|
+
"card.capabilities.openModelSettings": "モデル設定を開く",
|
|
203
|
+
"card.capabilities.closeModelSettings": "モデル設定を折りたたむ",
|
|
204
|
+
"card.capabilities.vision": "視覚モデル",
|
|
205
|
+
"card.capabilities.thinking": "思考モデル",
|
|
206
|
+
"card.capabilities.supportsEffort": "think effort をサポート",
|
|
207
|
+
"card.capabilities.efforts": "思考レベル(チェック後、送信値を入力)",
|
|
208
|
+
"card.capabilities.wirePlaceholder": "送信値(例:ultra)",
|
|
209
|
+
"card.capabilities.offPlaceholder": "空欄 = 送信しない",
|
|
210
|
+
"card.capabilities.atLeastThinking": "思考レベルを 1 つ以上選択してください(off 以外)",
|
|
211
|
+
"card.capabilities.applyLevel": "レベルを適用",
|
|
212
|
+
"card.capabilities.restoreDefault": "既定値に戻す",
|
|
213
|
+
"card.capabilities.unsaved": "未保存",
|
|
214
|
+
"card.capabilities.saveChanges": "変更を保存",
|
|
215
|
+
"card.capabilities.saved": "保存済み",
|
|
216
|
+
"card.capabilities.thinkingFormat": "思考形式",
|
|
217
|
+
"card.capabilities.thinkingFormat.inherit": "継承",
|
|
218
|
+
"card.capabilities.contextWindow": "コンテキストウィンドウ上限",
|
|
219
|
+
"card.capabilities.contextCustomPlaceholder": "カスタム整数(例:256000)",
|
|
220
|
+
"card.capabilities.contextClear": "クリア",
|
|
221
|
+
"card.capabilities.contextInteger": "コンテキスト長は整数で入力してください(2000-1000000)",
|
|
222
|
+
"card.capabilities.contextRange": "コンテキスト長は 2000 から 1000000 の範囲で指定してください",
|
|
223
|
+
"card.capabilities.contextHint": "プリセットを選ぶか整数を入力(2000–1000000)。llm-pi-ai に書き込まれ、コンテキスト圧力/圧縮に使用され、再起動なしで次のリクエストに反映されます。",
|
|
224
|
+
"input.context.title": "コンテキストウィンドウ",
|
|
225
|
+
"input.context.globalHint": "グローバルに有効:このモデルを使用するすべてのセッションに適用されます(クリアで既定値に戻ります)",
|
|
226
|
+
"input.context.unset": "未設定",
|
|
227
|
+
"input.context.custom": "カスタム",
|
|
228
|
+
"input.context.noModel": "セッションモデルがまだありません",
|
|
229
|
+
"input.context.customPlaceholder": "カスタム整数(例:256000)",
|
|
230
|
+
"input.context.apply": "適用",
|
|
231
|
+
"input.context.clear": "クリア",
|
|
232
|
+
"input.context.integer": "コンテキスト長は整数で入力してください(2000-1000000)",
|
|
233
|
+
"input.context.range": "コンテキスト長は 2000 から 1000000 の範囲で指定してください",
|
|
234
|
+
"model.panel.choose": "モデルを選択",
|
|
235
|
+
"model.panel.loading": "モデルディレクトリを読み込み中…",
|
|
236
|
+
"model.panel.empty": "利用可能なモデルがありません",
|
|
237
|
+
"model.panel.window": "ウィンドウ",
|
|
238
|
+
"model.panel.noTarget": "このモデルには書き込み可能な設定項目がありません",
|
|
239
|
+
"model.panel.unavailable": "このセッションのモデルディレクトリは利用できません",
|
|
240
|
+
"input.effort.title": "思考レベル",
|
|
241
|
+
"input.effort.default": "プロバイダーの既定",
|
|
242
|
+
"card.capabilities.failed": "保存に失敗しました:値が拒否されたか競合しています。確認してください。"
|
|
243
|
+
};
|
|
244
|
+
/** Korean dictionary (keys mirror zh). */
|
|
245
|
+
const ko = {
|
|
246
|
+
"card.title": "사고 수준",
|
|
247
|
+
"family.title": "起子 플러그인 설정",
|
|
248
|
+
"card.description": "모델 선택기에서 Auto(마스크)를 선택하면 도구 호출 기록을 기반으로 low / high / max 를 자동 스케줄링하여 API에 제출합니다. 여기서 기본 수준, 스케줄러 경계, 모델 기능(수준 → 게이트웨이 전송 값 매핑)을 구성합니다.",
|
|
249
|
+
"card.level": "기본 수준",
|
|
250
|
+
"card.level.off": "off — 사고 비활성화(수동 전용, 자동 선택 안 됨)",
|
|
251
|
+
"card.level.on": "on — 사고 활성화(토글 전용 모델용. enable_thinking만 전송, effort는 전송하지 않음)",
|
|
252
|
+
"card.level.minimal": "minimal — 최소(매우 가벼운 작업)",
|
|
253
|
+
"card.level.low": "low — 낮음(가벼운 라운드는 가볍게 유지)",
|
|
254
|
+
"card.level.medium": "medium — 중간",
|
|
255
|
+
"card.level.high": "high — 높음(공식 기본값)",
|
|
256
|
+
"card.level.xhigh": "xhigh — 특별히 높음",
|
|
257
|
+
"card.level.max": "max — 최대(무거운 작업)",
|
|
258
|
+
"card.level.auto": "auto — 도구 기록에서 자동 스케줄링(기본값)",
|
|
259
|
+
"card.enabled": "활성화",
|
|
260
|
+
"card.allowDowngrade": "다운그레이드 허용(auto가 low까지 내릴 수 있음)",
|
|
261
|
+
"card.allowUpgrade": "업그레이드 허용(auto가 max까지 올릴 수 있음)",
|
|
262
|
+
"card.unavailable": "설정 네임스페이스를 사용할 수 없습니다: dsh-thinking-levels가 이 profile에 조립되었는지 확인하세요.",
|
|
263
|
+
"card.readonly": "읽기 전용",
|
|
264
|
+
"card.capabilities": "모델 기능(llm-pi-ai 사용자 지정 제공자)",
|
|
265
|
+
"card.capabilities.hint": "llm-pi-ai 설정을 직접 읽고 씁니다: 수준을 체크하고 게이트웨이에 보낼 값을 입력(예: high → ultra). off를 비워 두면 전송하지 않습니다. 시각은 이미지 입력을 결정하고, 사고 토글은 enable_thinking을 제어하며, thinkingFormat은 wire 직렬화 형식을 선택합니다.",
|
|
266
|
+
"card.capabilities.empty": "llm-pi-ai에 모델이 구성된 사용자 지정 제공자가 없습니다. 먼저 「설정 → 모델」에서 제공자와 모델을 추가하세요.",
|
|
267
|
+
"card.capabilities.unavailable": "llm-pi-ai 설정 네임스페이스를 사용할 수 없습니다.",
|
|
268
|
+
"card.capabilities.none": "(모델 없음)",
|
|
269
|
+
"card.capabilities.search": "모델 이름 또는 ID로 검색…",
|
|
270
|
+
"card.capabilities.noMatches": "일치하는 모델이 없습니다",
|
|
271
|
+
"card.capabilities.quickSettings": "빠른 설정",
|
|
272
|
+
"card.capabilities.presetOfficial": "전체에 적용: Off / High / Max(공식 DeepSeek 방식)",
|
|
273
|
+
"card.capabilities.presetGeneric": "전체에 적용: Off / Low / Medium / High(일반 방식)",
|
|
274
|
+
"card.capabilities.vendor": "제공자",
|
|
275
|
+
"card.capabilities.developerRole": "게이트웨이가 developer 역할 미지원",
|
|
276
|
+
"card.capabilities.developerRoleHint": "공식 호환 스위치(dsh ≥ v0.1.0-rc.8): 라우트 수준 compat.supportsDeveloperRole: false 를 기록하여 시스템 프롬프트를 system 역할로 전송합니다. vLLM / SGLang 등의 Unexpected message role 400 을 수정. 체크 해제 시 필드를 삭제하고 상속을 복원합니다.",
|
|
277
|
+
"card.capabilities.expandProvider": "제공자 펼치기",
|
|
278
|
+
"card.capabilities.collapseProvider": "제공자 접기",
|
|
279
|
+
"card.capabilities.openModelSettings": "모델 설정 열기",
|
|
280
|
+
"card.capabilities.closeModelSettings": "모델 설정 접기",
|
|
281
|
+
"card.capabilities.vision": "시각 모델",
|
|
282
|
+
"card.capabilities.thinking": "사고 모델",
|
|
283
|
+
"card.capabilities.supportsEffort": "think effort 지원",
|
|
284
|
+
"card.capabilities.efforts": "사고 수준(체크 후 전송 값 입력)",
|
|
285
|
+
"card.capabilities.wirePlaceholder": "전송 값(예: ultra)",
|
|
286
|
+
"card.capabilities.offPlaceholder": "비워 둠 = 전송하지 않음",
|
|
287
|
+
"card.capabilities.atLeastThinking": "사고 수준을 하나 이상 선택하세요(off 제외)",
|
|
288
|
+
"card.capabilities.applyLevel": "수준 적용",
|
|
289
|
+
"card.capabilities.restoreDefault": "기본값 복원",
|
|
290
|
+
"card.capabilities.unsaved": "저장되지 않음",
|
|
291
|
+
"card.capabilities.saveChanges": "변경 사항 저장",
|
|
292
|
+
"card.capabilities.saved": "저장됨",
|
|
293
|
+
"card.capabilities.thinkingFormat": "사고 형식",
|
|
294
|
+
"card.capabilities.thinkingFormat.inherit": "상속",
|
|
295
|
+
"card.capabilities.contextWindow": "컨텍스트 창 상한",
|
|
296
|
+
"card.capabilities.contextCustomPlaceholder": "사용자 지정 정수(예: 256000)",
|
|
297
|
+
"card.capabilities.contextClear": "지우기",
|
|
298
|
+
"card.capabilities.contextInteger": "컨텍스트 길이는 정수여야 합니다 (2000-1000000)",
|
|
299
|
+
"card.capabilities.contextRange": "컨텍스트 길이는 2000에서 1000000 사이여야 합니다",
|
|
300
|
+
"card.capabilities.contextHint": "프리셋을 선택하거나 정수를 입력하세요(2000–1000000). llm-pi-ai에 기록되어 컨텍스트 압력/압축에 사용되며, 재시작 없이 다음 요청에 반영됩니다.",
|
|
301
|
+
"input.context.title": "컨텍스트 창",
|
|
302
|
+
"input.context.globalHint": "전역 적용: 이 모델을 사용하는 모든 세션에 적용됩니다(지우면 기본값 복원)",
|
|
303
|
+
"input.context.unset": "미설정",
|
|
304
|
+
"input.context.custom": "사용자 지정",
|
|
305
|
+
"input.context.noModel": "세션 모델이 아직 없습니다",
|
|
306
|
+
"input.context.customPlaceholder": "사용자 지정 정수(예: 256000)",
|
|
307
|
+
"input.context.apply": "적용",
|
|
308
|
+
"input.context.clear": "지우기",
|
|
309
|
+
"input.context.integer": "컨텍스트 길이는 정수여야 합니다 (2000-1000000)",
|
|
310
|
+
"input.context.range": "컨텍스트 길이는 2000에서 1000000 사이여야 합니다",
|
|
311
|
+
"model.panel.choose": "모델 선택",
|
|
312
|
+
"model.panel.loading": "모델 디렉터리를 불러오는 중…",
|
|
313
|
+
"model.panel.empty": "사용 가능한 모델이 없습니다",
|
|
314
|
+
"model.panel.window": "창",
|
|
315
|
+
"model.panel.noTarget": "이 모델에는 쓰기 가능한 설정 항목이 없습니다",
|
|
316
|
+
"model.panel.unavailable": "이 세션의 모델 디렉터리를 사용할 수 없습니다",
|
|
317
|
+
"input.effort.title": "추론 강도",
|
|
318
|
+
"input.effort.default": "공급자 기본값",
|
|
319
|
+
"card.capabilities.failed": "저장 실패: 값이 거부되었거나 충돌합니다. 확인하세요."
|
|
320
|
+
};
|
|
321
|
+
/** French dictionary (keys mirror zh). */
|
|
322
|
+
const fr = {
|
|
323
|
+
"card.title": "Niveaux de réflexion",
|
|
324
|
+
"family.title": "Paramètres des plugins Qizi",
|
|
325
|
+
"card.description": "Choisissez Auto dans le sélecteur de modèle : le plugin planifie low / high / max à chaque tour d'outils avant de soumettre l'effort à l'API. Configurez ici le niveau par défaut, les bornes du planificateur et les capacités par modèle (mapping niveau → valeur wire envoyée à la passerelle).",
|
|
326
|
+
"card.level": "Niveau par défaut",
|
|
327
|
+
"card.level.off": "off — désactive la réflexion (manuel uniquement, jamais choisi automatiquement)",
|
|
328
|
+
"card.level.on": "on — active la réflexion (modèles à bascule uniquement ; envoie enable_thinking, jamais un effort)",
|
|
329
|
+
"card.level.minimal": "minimal — minimal (tâches très légères)",
|
|
330
|
+
"card.level.low": "low — bas (les tours bon marché restent bon marché)",
|
|
331
|
+
"card.level.medium": "medium — moyen",
|
|
332
|
+
"card.level.high": "high — haut (défaut officiel)",
|
|
333
|
+
"card.level.xhigh": "xhigh — très haut",
|
|
334
|
+
"card.level.max": "max — maximal (tâches lourdes)",
|
|
335
|
+
"card.level.auto": "auto — planifie selon l'historique d'outils (défaut)",
|
|
336
|
+
"card.enabled": "Activé",
|
|
337
|
+
"card.allowDowngrade": "Autoriser la rétrogradation (auto peut descendre à low)",
|
|
338
|
+
"card.allowUpgrade": "Autoriser la promotion (auto peut monter à max)",
|
|
339
|
+
"card.unavailable": "Espace de noms des réglages indisponible : vérifiez que dsh-thinking-levels est assemblé dans ce profil.",
|
|
340
|
+
"card.readonly": "Lecture seule",
|
|
341
|
+
"card.capabilities": "Capacités des modèles (fournisseurs personnalisés llm-pi-ai)",
|
|
342
|
+
"card.capabilities.hint": "Lit et écrit directement la configuration llm-pi-ai : cochez un niveau et saisissez la valeur exacte envoyée à la passerelle (ex. high → ultra) ; laisser off vide signifie « ne pas envoyer ». La vision autorise l'entrée d'images ; l'interrupteur de réflexion pilote enable_thinking ; thinkingFormat choisit le format de sérialisation wire.",
|
|
343
|
+
"card.capabilities.empty": "Aucun fournisseur personnalisé n'a de modèles configurés dans llm-pi-ai. Ajoutez d'abord un fournisseur et des modèles dans Réglages → Modèles.",
|
|
344
|
+
"card.capabilities.unavailable": "L'espace de noms des réglages llm-pi-ai est indisponible.",
|
|
345
|
+
"card.capabilities.none": "(aucun modèle)",
|
|
346
|
+
"card.capabilities.search": "Rechercher des modèles par nom ou ID…",
|
|
347
|
+
"card.capabilities.noMatches": "Aucun modèle correspondant",
|
|
348
|
+
"card.capabilities.quickSettings": "Réglages rapides",
|
|
349
|
+
"card.capabilities.presetOfficial": "Appliquer à tous : Off / High / Max (style officiel DeepSeek)",
|
|
350
|
+
"card.capabilities.presetGeneric": "Appliquer à tous : Off / Low / Medium / High (générique)",
|
|
351
|
+
"card.capabilities.vendor": "Fournisseur",
|
|
352
|
+
"card.capabilities.developerRole": "La passerelle rejette le rôle developer",
|
|
353
|
+
"card.capabilities.developerRoleHint": "Commutateur de compatibilité officiel (dsh ≥ v0.1.0-rc.8) : écrit compat.supportsDeveloperRole: false au niveau de la route pour envoyer le prompt système avec le rôle system — corrige l'erreur Unexpected message role 400 des passerelles vLLM / SGLang. Décocher supprime le champ et restaure l'héritage.",
|
|
354
|
+
"card.capabilities.expandProvider": "Déplier le fournisseur",
|
|
355
|
+
"card.capabilities.collapseProvider": "Replier le fournisseur",
|
|
356
|
+
"card.capabilities.openModelSettings": "Ouvrir les réglages du modèle",
|
|
357
|
+
"card.capabilities.closeModelSettings": "Replier les réglages du modèle",
|
|
358
|
+
"card.capabilities.vision": "Modèle vision",
|
|
359
|
+
"card.capabilities.thinking": "Modèle de réflexion",
|
|
360
|
+
"card.capabilities.supportsEffort": "Prend en charge l'effort de réflexion",
|
|
361
|
+
"card.capabilities.efforts": "Niveaux d'effort de réflexion (cochez, puis saisissez la valeur wire)",
|
|
362
|
+
"card.capabilities.wirePlaceholder": "Valeur wire, ex. ultra",
|
|
363
|
+
"card.capabilities.offPlaceholder": "Vide = ne pas envoyer",
|
|
364
|
+
"card.capabilities.atLeastThinking": "Sélectionnez au moins un niveau de réflexion (autre que off)",
|
|
365
|
+
"card.capabilities.applyLevel": "Appliquer les niveaux",
|
|
366
|
+
"card.capabilities.restoreDefault": "Restaurer les défauts",
|
|
367
|
+
"card.capabilities.unsaved": "Non enregistré",
|
|
368
|
+
"card.capabilities.saveChanges": "Enregistrer les modifications",
|
|
369
|
+
"card.capabilities.saved": "Enregistré",
|
|
370
|
+
"card.capabilities.thinkingFormat": "Format de réflexion",
|
|
371
|
+
"card.capabilities.thinkingFormat.inherit": "Hériter",
|
|
372
|
+
"card.capabilities.contextWindow": "Limite de fenêtre de contexte",
|
|
373
|
+
"card.capabilities.contextCustomPlaceholder": "Entier personnalisé, ex. 256000",
|
|
374
|
+
"card.capabilities.contextClear": "Effacer",
|
|
375
|
+
"card.capabilities.contextInteger": "La longueur du contexte doit être un entier (2000-1000000)",
|
|
376
|
+
"card.capabilities.contextRange": "La longueur du contexte doit être comprise entre 2000 et 1000000",
|
|
377
|
+
"card.capabilities.contextHint": "Choisissez un préréglage ou saisissez un entier (2000–1000000) ; écrit dans llm-pi-ai pour la pression/compaction du contexte et appliqué à la requête suivante sans redémarrage.",
|
|
378
|
+
"input.context.title": "Fenêtre de contexte",
|
|
379
|
+
"input.context.globalHint": "S'applique globalement à toutes les sessions utilisant ce modèle (Effacer restaure le défaut)",
|
|
380
|
+
"input.context.unset": "Non défini",
|
|
381
|
+
"input.context.custom": "Personnalisé",
|
|
382
|
+
"input.context.noModel": "Aucun modèle de session pour l'instant",
|
|
383
|
+
"input.context.customPlaceholder": "Entier personnalisé, ex. 256000",
|
|
384
|
+
"input.context.apply": "Appliquer",
|
|
385
|
+
"input.context.clear": "Effacer",
|
|
386
|
+
"input.context.integer": "La longueur du contexte doit être un entier (2000-1000000)",
|
|
387
|
+
"input.context.range": "La longueur du contexte doit être comprise entre 2000 et 1000000",
|
|
388
|
+
"model.panel.choose": "Choisir un modèle",
|
|
389
|
+
"model.panel.loading": "Chargement du répertoire de modèles…",
|
|
390
|
+
"model.panel.empty": "Aucun modèle disponible",
|
|
391
|
+
"model.panel.window": "Fenêtre",
|
|
392
|
+
"model.panel.noTarget": "Aucune entrée de configuration inscriptible pour ce modèle",
|
|
393
|
+
"model.panel.unavailable": "Le répertoire de modèles est indisponible pour cette session",
|
|
394
|
+
"input.effort.title": "Effort de réflexion",
|
|
395
|
+
"input.effort.default": "Défaut du fournisseur",
|
|
396
|
+
"card.capabilities.failed": "Échec de l'enregistrement : la valeur a été rejetée ou est en conflit. Vérifiez-la."
|
|
397
|
+
};
|
|
398
|
+
/** German dictionary (keys mirror zh). */
|
|
399
|
+
const de = {
|
|
400
|
+
"card.title": "Denkstufen",
|
|
401
|
+
"family.title": "Qizi-Plugin-Einstellungen",
|
|
402
|
+
"card.description": "Wählen Sie in der Modellauswahl Auto: Das Plugin plant vor der API-Übermittlung in jedem Tool-Schritt zwischen low / high / max. Hier konfigurieren Sie die Standardstufe, die Planungsgrenzen und die Modellfähigkeiten (Zuordnung Stufe → Wire-Wert an das Gateway).",
|
|
403
|
+
"card.level": "Standardstufe",
|
|
404
|
+
"card.level.off": "off — Denken aus (nur manuell, nie automatisch gewählt)",
|
|
405
|
+
"card.level.on": "on — Denken ein (nur Toggle-Modelle; sendet enable_thinking, nie einen Effort)",
|
|
406
|
+
"card.level.minimal": "minimal — geringste (sehr leichte Aufgaben)",
|
|
407
|
+
"card.level.low": "low — niedrig (billige Runden bleiben billig)",
|
|
408
|
+
"card.level.medium": "medium — mittel",
|
|
409
|
+
"card.level.high": "high — hoch (offizieller Standard)",
|
|
410
|
+
"card.level.xhigh": "xhigh — besonders hoch",
|
|
411
|
+
"card.level.max": "max — maximal (schwere Aufgaben)",
|
|
412
|
+
"card.level.auto": "auto — plant aus dem Tool-Verlauf (Standard)",
|
|
413
|
+
"card.enabled": "Aktiviert",
|
|
414
|
+
"card.allowDowngrade": "Herabstufung erlauben (auto darf auf low sinken)",
|
|
415
|
+
"card.allowUpgrade": "Heraufstufung erlauben (auto darf auf max steigen)",
|
|
416
|
+
"card.unavailable": "Einstellungs-Namespace nicht verfügbar: Stellen Sie sicher, dass dsh-thinking-levels in dieses Profil eingebaut ist.",
|
|
417
|
+
"card.readonly": "Schreibgeschützt",
|
|
418
|
+
"card.capabilities": "Modellfähigkeiten (benutzerdefinierte llm-pi-ai-Provider)",
|
|
419
|
+
"card.capabilities.hint": "Liest und schreibt die llm-pi-ai-Konfiguration direkt: Markieren Sie eine Stufe und tragen Sie den exakten Wert ein, der ans Gateway gesendet wird (z. B. high → ultra); ein leeres off heißt „nicht senden“. Vision steuert die Bildeingabe; der Denk-Schalter setzt enable_thinking; thinkingFormat wählt die Wire-Serialisierung.",
|
|
420
|
+
"card.capabilities.empty": "Kein benutzerdefinierter Provider hat Modelle in llm-pi-ai konfiguriert. Fügen Sie zuerst unter Einstellungen → Modelle einen Provider mit Modellen hinzu.",
|
|
421
|
+
"card.capabilities.unavailable": "Der llm-pi-ai-Einstellungs-Namespace ist nicht verfügbar.",
|
|
422
|
+
"card.capabilities.none": "(keine Modelle)",
|
|
423
|
+
"card.capabilities.search": "Modelle nach Name oder ID suchen…",
|
|
424
|
+
"card.capabilities.noMatches": "Keine passenden Modelle",
|
|
425
|
+
"card.capabilities.quickSettings": "Schnelleinstellungen",
|
|
426
|
+
"card.capabilities.presetOfficial": "Auf alle anwenden: Off / High / Max (offizieller DeepSeek-Stil)",
|
|
427
|
+
"card.capabilities.presetGeneric": "Auf alle anwenden: Off / Low / Medium / High (generisch)",
|
|
428
|
+
"card.capabilities.vendor": "Provider",
|
|
429
|
+
"card.capabilities.developerRole": "Gateway lehnt die developer-Rolle ab",
|
|
430
|
+
"card.capabilities.developerRoleHint": "Offizieller Kompatibilitätsschalter (dsh ≥ v0.1.0-rc.8): schreibt compat.supportsDeveloperRole: false auf Routenebene, damit der Systemprompt als Rolle system gesendet wird — behebt den Unexpected-message-role-400 von vLLM-/SGLang-Gateways. Abwählen löscht das Feld und stellt die Vererbung wieder her.",
|
|
431
|
+
"card.capabilities.expandProvider": "Provider ausklappen",
|
|
432
|
+
"card.capabilities.collapseProvider": "Provider einklappen",
|
|
433
|
+
"card.capabilities.openModelSettings": "Modelleinstellungen öffnen",
|
|
434
|
+
"card.capabilities.closeModelSettings": "Modelleinstellungen einklappen",
|
|
435
|
+
"card.capabilities.vision": "Vision-Modell",
|
|
436
|
+
"card.capabilities.thinking": "Denkmodell",
|
|
437
|
+
"card.capabilities.supportsEffort": "Unterstützt Reasoning-Effort",
|
|
438
|
+
"card.capabilities.efforts": "Denkstufen (anmarkieren, dann Wire-Wert eintragen)",
|
|
439
|
+
"card.capabilities.wirePlaceholder": "Wire-Wert, z. B. ultra",
|
|
440
|
+
"card.capabilities.offPlaceholder": "Leer = nicht senden",
|
|
441
|
+
"card.capabilities.atLeastThinking": "Mindestens eine Denkstufe wählen (außer off)",
|
|
442
|
+
"card.capabilities.applyLevel": "Stufen anwenden",
|
|
443
|
+
"card.capabilities.restoreDefault": "Standardwerte wiederherstellen",
|
|
444
|
+
"card.capabilities.unsaved": "Nicht gespeichert",
|
|
445
|
+
"card.capabilities.saveChanges": "Änderungen speichern",
|
|
446
|
+
"card.capabilities.saved": "Gespeichert",
|
|
447
|
+
"card.capabilities.thinkingFormat": "Denkformat",
|
|
448
|
+
"card.capabilities.thinkingFormat.inherit": "Vererben",
|
|
449
|
+
"card.capabilities.contextWindow": "Kontextfenster-Limit",
|
|
450
|
+
"card.capabilities.contextCustomPlaceholder": "Eigene Ganzzahl, z. B. 256000",
|
|
451
|
+
"card.capabilities.contextClear": "Löschen",
|
|
452
|
+
"card.capabilities.contextInteger": "Die Kontextlänge muss eine Ganzzahl sein (2000-1000000)",
|
|
453
|
+
"card.capabilities.contextRange": "Die Kontextlänge muss zwischen 2000 und 1000000 liegen",
|
|
454
|
+
"card.capabilities.contextHint": "Voreinstellung wählen oder Ganzzahl eingeben (2000–1000000); wird in llm-pi-ai für Kontextdruck/Kompaktierung geschrieben und gilt ohne Neustart ab der nächsten Anfrage.",
|
|
455
|
+
"input.context.title": "Kontextfenster",
|
|
456
|
+
"input.context.globalHint": "Gilt global für alle Sessions mit diesem Modell (Löschen stellt den Standard wieder her)",
|
|
457
|
+
"input.context.unset": "Nicht gesetzt",
|
|
458
|
+
"input.context.custom": "Benutzerdefiniert",
|
|
459
|
+
"input.context.noModel": "Noch kein Session-Modell",
|
|
460
|
+
"input.context.customPlaceholder": "Eigene Ganzzahl, z. B. 256000",
|
|
461
|
+
"input.context.apply": "Anwenden",
|
|
462
|
+
"input.context.clear": "Löschen",
|
|
463
|
+
"input.context.integer": "Die Kontextlänge muss eine Ganzzahl sein (2000-1000000)",
|
|
464
|
+
"input.context.range": "Die Kontextlänge muss zwischen 2000 und 1000000 liegen",
|
|
465
|
+
"model.panel.choose": "Modell wählen",
|
|
466
|
+
"model.panel.loading": "Modellverzeichnis wird geladen…",
|
|
467
|
+
"model.panel.empty": "Keine Modelle verfügbar",
|
|
468
|
+
"model.panel.window": "Fenster",
|
|
469
|
+
"model.panel.noTarget": "Kein schreibbarer Konfigurationseintrag für dieses Modell",
|
|
470
|
+
"model.panel.unavailable": "Das Modellverzeichnis ist für diese Session nicht verfügbar",
|
|
471
|
+
"input.effort.title": "Reasoning-Effort",
|
|
472
|
+
"input.effort.default": "Provider-Standard",
|
|
473
|
+
"card.capabilities.failed": "Speichern fehlgeschlagen: Der Wert wurde abgelehnt oder kollidiert. Bitte prüfen."
|
|
474
|
+
};
|
|
475
|
+
/** Italian dictionary (keys mirror zh). */
|
|
476
|
+
const it = {
|
|
477
|
+
"card.title": "Livelli di pensiero",
|
|
478
|
+
"family.title": "Impostazioni dei plugin Qizi",
|
|
479
|
+
"card.description": "Scegli Auto nel selettore del modello: il plugin pianifica low / high / max a ogni turno di strumenti prima di inviare l'effort all'API. Qui configuri il livello predefinito, i limiti dello scheduler e le capacità per modello (mapping livello → valore wire inviato al gateway).",
|
|
480
|
+
"card.level": "Livello predefinito",
|
|
481
|
+
"card.level.off": "off — disattiva il pensiero (solo manuale, mai scelto in automatico)",
|
|
482
|
+
"card.level.on": "on — attiva il pensiero (solo modelli a toggle; invia enable_thinking, mai un effort)",
|
|
483
|
+
"card.level.minimal": "minimal — minimo (attività molto leggere)",
|
|
484
|
+
"card.level.low": "low — basso (i turni economici restano economici)",
|
|
485
|
+
"card.level.medium": "medium — medio",
|
|
486
|
+
"card.level.high": "high — alto (predefinito ufficiale)",
|
|
487
|
+
"card.level.xhigh": "xhigh — molto alto",
|
|
488
|
+
"card.level.max": "max — massimo (attività pesanti)",
|
|
489
|
+
"card.level.auto": "auto — pianifica dalla cronologia degli strumenti (predefinito)",
|
|
490
|
+
"card.enabled": "Attivato",
|
|
491
|
+
"card.allowDowngrade": "Consenti il downgrade (auto può scendere a low)",
|
|
492
|
+
"card.allowUpgrade": "Consenti l'upgrade (auto può salire a max)",
|
|
493
|
+
"card.unavailable": "Namespace delle impostazioni non disponibile: verifica che dsh-thinking-levels sia assemblato in questo profilo.",
|
|
494
|
+
"card.readonly": "Sola lettura",
|
|
495
|
+
"card.capabilities": "Capacità del modello (provider personalizzati llm-pi-ai)",
|
|
496
|
+
"card.capabilities.hint": "Legge e scrive direttamente la configurazione llm-pi-ai: spunta un livello e inserisci il valore esatto inviato al gateway (es. high → ultra); lasciare off vuoto significa «non inviare». La visione abilita l'input di immagini; l'interruttore di pensiero comanda enable_thinking; thinkingFormat sceglie la serializzazione wire.",
|
|
497
|
+
"card.capabilities.empty": "Nessun provider personalizzato ha modelli configurati in llm-pi-ai. Aggiungi prima un provider e i modelli in Impostazioni → Modelli.",
|
|
498
|
+
"card.capabilities.unavailable": "Il namespace delle impostazioni llm-pi-ai non è disponibile.",
|
|
499
|
+
"card.capabilities.none": "(nessun modello)",
|
|
500
|
+
"card.capabilities.search": "Cerca modelli per nome o ID…",
|
|
501
|
+
"card.capabilities.noMatches": "Nessun modello corrispondente",
|
|
502
|
+
"card.capabilities.quickSettings": "Impostazioni rapide",
|
|
503
|
+
"card.capabilities.presetOfficial": "Applica a tutti: Off / High / Max (stile ufficiale DeepSeek)",
|
|
504
|
+
"card.capabilities.presetGeneric": "Applica a tutti: Off / Low / Medium / High (generico)",
|
|
505
|
+
"card.capabilities.vendor": "Provider",
|
|
506
|
+
"card.capabilities.developerRole": "Il gateway non accetta il ruolo developer",
|
|
507
|
+
"card.capabilities.developerRoleHint": "Interruttore di compatibilità ufficiale (dsh ≥ v0.1.0-rc.8): scrive compat.supportsDeveloperRole: false a livello di route così il prompt di sistema viene inviato con ruolo system — corregge l'errore Unexpected message role 400 dei gateway vLLM / SGLang. Deselezionare elimina il campo e ripristina l'ereditarietà.",
|
|
508
|
+
"card.capabilities.expandProvider": "Espandi provider",
|
|
509
|
+
"card.capabilities.collapseProvider": "Comprimi provider",
|
|
510
|
+
"card.capabilities.openModelSettings": "Apri impostazioni modello",
|
|
511
|
+
"card.capabilities.closeModelSettings": "Comprimi impostazioni modello",
|
|
512
|
+
"card.capabilities.vision": "Modello vision",
|
|
513
|
+
"card.capabilities.thinking": "Modello di pensiero",
|
|
514
|
+
"card.capabilities.supportsEffort": "Supporta l'effort di pensiero",
|
|
515
|
+
"card.capabilities.efforts": "Livelli di effort (spunta, poi inserisci il valore wire)",
|
|
516
|
+
"card.capabilities.wirePlaceholder": "Valore wire, es. ultra",
|
|
517
|
+
"card.capabilities.offPlaceholder": "Vuoto = non inviare",
|
|
518
|
+
"card.capabilities.atLeastThinking": "Seleziona almeno un livello di pensiero (escluso off)",
|
|
519
|
+
"card.capabilities.applyLevel": "Applica livelli",
|
|
520
|
+
"card.capabilities.restoreDefault": "Ripristina predefiniti",
|
|
521
|
+
"card.capabilities.unsaved": "Non salvato",
|
|
522
|
+
"card.capabilities.saveChanges": "Salva modifiche",
|
|
523
|
+
"card.capabilities.saved": "Salvato",
|
|
524
|
+
"card.capabilities.thinkingFormat": "Formato di pensiero",
|
|
525
|
+
"card.capabilities.thinkingFormat.inherit": "Eredita",
|
|
526
|
+
"card.capabilities.contextWindow": "Limite finestra di contesto",
|
|
527
|
+
"card.capabilities.contextCustomPlaceholder": "Intero personalizzato, es. 256000",
|
|
528
|
+
"card.capabilities.contextClear": "Cancella",
|
|
529
|
+
"card.capabilities.contextInteger": "La lunghezza del contesto deve essere un intero (2000-1000000)",
|
|
530
|
+
"card.capabilities.contextRange": "La lunghezza del contesto deve essere tra 2000 e 1000000",
|
|
531
|
+
"card.capabilities.contextHint": "Scegli un preset o inserisci un intero (2000–1000000); viene scritto in llm-pi-ai per pressione/compattazione del contesto e vale dalla richiesta successiva senza riavvio.",
|
|
532
|
+
"input.context.title": "Finestra di contesto",
|
|
533
|
+
"input.context.globalHint": "Vale globalmente per tutte le sessioni che usano questo modello (Cancella ripristina il predefinito)",
|
|
534
|
+
"input.context.unset": "Non impostato",
|
|
535
|
+
"input.context.custom": "Personalizzato",
|
|
536
|
+
"input.context.noModel": "Ancora nessun modello di sessione",
|
|
537
|
+
"input.context.customPlaceholder": "Intero personalizzato, es. 256000",
|
|
538
|
+
"input.context.apply": "Applica",
|
|
539
|
+
"input.context.clear": "Cancella",
|
|
540
|
+
"input.context.integer": "La lunghezza del contesto deve essere un intero (2000-1000000)",
|
|
541
|
+
"input.context.range": "La lunghezza del contesto deve essere tra 2000 e 1000000",
|
|
542
|
+
"model.panel.choose": "Scegli modello",
|
|
543
|
+
"model.panel.loading": "Caricamento del catalogo modelli…",
|
|
544
|
+
"model.panel.empty": "Nessun modello disponibile",
|
|
545
|
+
"model.panel.window": "Finestra",
|
|
546
|
+
"model.panel.noTarget": "Nessuna voce di configurazione scrivibile per questo modello",
|
|
547
|
+
"model.panel.unavailable": "Il catalogo modelli non è disponibile per questa sessione",
|
|
548
|
+
"input.effort.title": "Sforzo di ragionamento",
|
|
549
|
+
"input.effort.default": "Predefinito del provider",
|
|
550
|
+
"card.capabilities.failed": "Salvataggio non riuscito: il valore è stato rifiutato o è in conflitto. Controllalo."
|
|
551
|
+
};
|
|
552
|
+
/** Russian dictionary (keys mirror zh). */
|
|
553
|
+
const ru = {
|
|
554
|
+
"card.title": "Уровни мышления",
|
|
555
|
+
"family.title": "Настройки плагинов Qizi",
|
|
556
|
+
"card.description": "Выберите Auto в селекторе модели: перед отправкой effort в API плагин в каждом раунде планирует low / high / max по истории вызовов инструментов. Здесь настраиваются уровень по умолчанию, границы планировщика и возможности моделей (отображение уровень → wire-значение для шлюза).",
|
|
557
|
+
"card.level": "Уровень по умолчанию",
|
|
558
|
+
"card.level.off": "off — мышление выключено (только вручную, автоматически не выбирается)",
|
|
559
|
+
"card.level.on": "on — мышление включено (только toggle-модели; отправляет enable_thinking, без effort)",
|
|
560
|
+
"card.level.minimal": "minimal — минимум (очень лёгкие задачи)",
|
|
561
|
+
"card.level.low": "low — низкий (дешёвые ходы остаются дешёвыми)",
|
|
562
|
+
"card.level.medium": "medium — средний",
|
|
563
|
+
"card.level.high": "high — высокий (официальное значение по умолчанию)",
|
|
564
|
+
"card.level.xhigh": "xhigh — очень высокий",
|
|
565
|
+
"card.level.max": "max — максимум (тяжёлые задачи)",
|
|
566
|
+
"card.level.auto": "auto — планирование по истории инструментов (по умолчанию)",
|
|
567
|
+
"card.enabled": "Включено",
|
|
568
|
+
"card.allowDowngrade": "Разрешить понижение (auto может опуститься до low)",
|
|
569
|
+
"card.allowUpgrade": "Разрешить повышение (auto может подняться до max)",
|
|
570
|
+
"card.unavailable": "Пространство имён настроек недоступно: убедитесь, что dsh-thinking-levels собран в этот профиль.",
|
|
571
|
+
"card.readonly": "Только чтение",
|
|
572
|
+
"card.capabilities": "Возможности моделей (свои провайдеры llm-pi-ai)",
|
|
573
|
+
"card.capabilities.hint": "Читает и пишет конфигурацию llm-pi-ai напрямую: отметьте уровень и введите точное значение, отправляемое шлюзу (например, high → ultra); пустой off означает «не отправлять». Vision разрешает ввод изображений; переключатель мышления управляет enable_thinking; thinkingFormat выбирает формат wire-сериализации.",
|
|
574
|
+
"card.capabilities.empty": "Ни у одного своего провайдера в llm-pi-ai нет настроенных моделей. Сначала добавьте провайдера и модели в «Настройки → Модели».",
|
|
575
|
+
"card.capabilities.unavailable": "Пространство имён настроек llm-pi-ai недоступно.",
|
|
576
|
+
"card.capabilities.none": "(нет моделей)",
|
|
577
|
+
"card.capabilities.search": "Поиск моделей по имени или ID…",
|
|
578
|
+
"card.capabilities.noMatches": "Нет подходящих моделей",
|
|
579
|
+
"card.capabilities.quickSettings": "Быстрые настройки",
|
|
580
|
+
"card.capabilities.presetOfficial": "Применить ко всем: Off / High / Max (официальный стиль DeepSeek)",
|
|
581
|
+
"card.capabilities.presetGeneric": "Применить ко всем: Off / Low / Medium / High (универсальный)",
|
|
582
|
+
"card.capabilities.vendor": "Провайдер",
|
|
583
|
+
"card.capabilities.developerRole": "Шлюз не поддерживает роль developer",
|
|
584
|
+
"card.capabilities.developerRoleHint": "Официальный переключатель совместимости (dsh ≥ v0.1.0-rc.8): записывает compat.supportsDeveloperRole: false на уровне маршрута, чтобы системный промпт уходил с ролью system, — исправляет ошибку Unexpected message role 400 у шлюзов vLLM / SGLang. Снятие флажка удаляет поле и возвращает наследование.",
|
|
585
|
+
"card.capabilities.expandProvider": "Развернуть провайдера",
|
|
586
|
+
"card.capabilities.collapseProvider": "Свернуть провайдера",
|
|
587
|
+
"card.capabilities.openModelSettings": "Открыть настройки модели",
|
|
588
|
+
"card.capabilities.closeModelSettings": "Свернуть настройки модели",
|
|
589
|
+
"card.capabilities.vision": "Vision-модель",
|
|
590
|
+
"card.capabilities.thinking": "Модель мышления",
|
|
591
|
+
"card.capabilities.supportsEffort": "Поддерживает reasoning-effort",
|
|
592
|
+
"card.capabilities.efforts": "Уровни reasoning-effort (отметьте и введите wire-значение)",
|
|
593
|
+
"card.capabilities.wirePlaceholder": "Wire-значение, например ultra",
|
|
594
|
+
"card.capabilities.offPlaceholder": "Пусто = не отправлять",
|
|
595
|
+
"card.capabilities.atLeastThinking": "Выберите хотя бы один уровень мышления (кроме off)",
|
|
596
|
+
"card.capabilities.applyLevel": "Применить уровни",
|
|
597
|
+
"card.capabilities.restoreDefault": "Вернуть значения по умолчанию",
|
|
598
|
+
"card.capabilities.unsaved": "Не сохранено",
|
|
599
|
+
"card.capabilities.saveChanges": "Сохранить изменения",
|
|
600
|
+
"card.capabilities.saved": "Сохранено",
|
|
601
|
+
"card.capabilities.thinkingFormat": "Формат мышления",
|
|
602
|
+
"card.capabilities.thinkingFormat.inherit": "Наследовать",
|
|
603
|
+
"card.capabilities.contextWindow": "Лимит контекстного окна",
|
|
604
|
+
"card.capabilities.contextCustomPlaceholder": "Своё целое число, например 256000",
|
|
605
|
+
"card.capabilities.contextClear": "Очистить",
|
|
606
|
+
"card.capabilities.contextInteger": "Длина контекста должна быть целым числом (2000-1000000)",
|
|
607
|
+
"card.capabilities.contextRange": "Длина контекста должна быть от 2000 до 1000000",
|
|
608
|
+
"card.capabilities.contextHint": "Выберите предустановку или введите целое число (2000–1000000); оно записывается в llm-pi-ai для контроля нехватки контекста/сжатия и применяется к следующему запросу без перезапуска.",
|
|
609
|
+
"input.context.title": "Контекстное окно",
|
|
610
|
+
"input.context.globalHint": "Действует глобально для всех сессий с этой моделью (очистка вернёт значение по умолчанию)",
|
|
611
|
+
"input.context.unset": "Не задано",
|
|
612
|
+
"input.context.custom": "Своё значение",
|
|
613
|
+
"input.context.noModel": "Модель сессии пока не выбрана",
|
|
614
|
+
"input.context.customPlaceholder": "Своё целое число, например 256000",
|
|
615
|
+
"input.context.apply": "Применить",
|
|
616
|
+
"input.context.clear": "Очистить",
|
|
617
|
+
"input.context.integer": "Длина контекста должна быть целым числом (2000-1000000)",
|
|
618
|
+
"input.context.range": "Длина контекста должна быть от 2000 до 1000000",
|
|
619
|
+
"model.panel.choose": "Выбрать модель",
|
|
620
|
+
"model.panel.loading": "Загрузка каталога моделей…",
|
|
621
|
+
"model.panel.empty": "Нет доступных моделей",
|
|
622
|
+
"model.panel.window": "Окно",
|
|
623
|
+
"model.panel.noTarget": "Для этой модели нет записываемых настроек",
|
|
624
|
+
"model.panel.unavailable": "Каталог моделей недоступен для этой сессии",
|
|
625
|
+
"input.effort.title": "Интенсивность рассуждений",
|
|
626
|
+
"input.effort.default": "Значение провайдера по умолчанию",
|
|
627
|
+
"card.capabilities.failed": "Не удалось сохранить: значение отклонено или конфликтует. Проверьте его."
|
|
628
|
+
};
|
|
629
|
+
/** Spanish dictionary (keys mirror zh). */
|
|
630
|
+
const es = {
|
|
631
|
+
"card.title": "Niveles de pensamiento",
|
|
632
|
+
"family.title": "Ajustes de los plugins Qizi",
|
|
633
|
+
"card.description": "Elige Auto en el selector de modelo: el plugin programa low / high / max en cada ronda de herramientas antes de enviar el effort a la API. Aquí configuras el nivel por defecto, los límites del planificador y las capacidades por modelo (mapeo nivel → valor wire enviado a la gateway).",
|
|
634
|
+
"card.level": "Nivel por defecto",
|
|
635
|
+
"card.level.off": "off — desactiva el pensamiento (solo manual, nunca se elige automáticamente)",
|
|
636
|
+
"card.level.on": "on — activa el pensamiento (solo modelos de toggle; envía enable_thinking, nunca un effort)",
|
|
637
|
+
"card.level.minimal": "minimal — mínimo (tareas muy ligeras)",
|
|
638
|
+
"card.level.low": "low — bajo (las rondas baratas siguen siendo baratas)",
|
|
639
|
+
"card.level.medium": "medium — medio",
|
|
640
|
+
"card.level.high": "high — alto (valor oficial por defecto)",
|
|
641
|
+
"card.level.xhigh": "xhigh — muy alto",
|
|
642
|
+
"card.level.max": "max — máximo (tareas pesadas)",
|
|
643
|
+
"card.level.auto": "auto — programa según el historial de herramientas (por defecto)",
|
|
644
|
+
"card.enabled": "Activado",
|
|
645
|
+
"card.allowDowngrade": "Permitir bajar de nivel (auto puede bajar a low)",
|
|
646
|
+
"card.allowUpgrade": "Permitir subir de nivel (auto puede subir a max)",
|
|
647
|
+
"card.unavailable": "Espacio de nombres de ajustes no disponible: comprueba que dsh-thinking-levels esté montado en este perfil.",
|
|
648
|
+
"card.readonly": "Solo lectura",
|
|
649
|
+
"card.capabilities": "Capacidades del modelo (proveedores personalizados de llm-pi-ai)",
|
|
650
|
+
"card.capabilities.hint": "Lee y escribe directamente la configuración de llm-pi-ai: marca un nivel e introduce el valor exacto que se envía a la gateway (p. ej., high → ultra); dejar off vacío significa «no enviar». La visión habilita la entrada de imágenes; el interruptor de pensamiento controla enable_thinking; thinkingFormat elige la serialización wire.",
|
|
651
|
+
"card.capabilities.empty": "Ningún proveedor personalizado tiene modelos configurados en llm-pi-ai. Añade antes un proveedor y modelos en Ajustes → Modelos.",
|
|
652
|
+
"card.capabilities.unavailable": "El espacio de nombres de ajustes de llm-pi-ai no está disponible.",
|
|
653
|
+
"card.capabilities.none": "(sin modelos)",
|
|
654
|
+
"card.capabilities.search": "Buscar modelos por nombre o ID…",
|
|
655
|
+
"card.capabilities.noMatches": "No hay modelos coincidentes",
|
|
656
|
+
"card.capabilities.quickSettings": "Ajustes rápidos",
|
|
657
|
+
"card.capabilities.presetOfficial": "Aplicar a todos: Off / High / Max (estilo oficial DeepSeek)",
|
|
658
|
+
"card.capabilities.presetGeneric": "Aplicar a todos: Off / Low / Medium / High (genérico)",
|
|
659
|
+
"card.capabilities.vendor": "Proveedor",
|
|
660
|
+
"card.capabilities.developerRole": "La gateway rechaza el rol developer",
|
|
661
|
+
"card.capabilities.developerRoleHint": "Interruptor de compatibilidad oficial (dsh ≥ v0.1.0-rc.8): escribe compat.supportsDeveloperRole: false a nivel de ruta para que el prompt del sistema se envíe con rol system; corrige el error Unexpected message role 400 de las gateway vLLM / SGLang. Desmarcar elimina el campo y restaura la herencia.",
|
|
662
|
+
"card.capabilities.expandProvider": "Desplegar proveedor",
|
|
663
|
+
"card.capabilities.collapseProvider": "Plegar proveedor",
|
|
664
|
+
"card.capabilities.openModelSettings": "Abrir ajustes del modelo",
|
|
665
|
+
"card.capabilities.closeModelSettings": "Plegar ajustes del modelo",
|
|
666
|
+
"card.capabilities.vision": "Modelo con visión",
|
|
667
|
+
"card.capabilities.thinking": "Modelo de pensamiento",
|
|
668
|
+
"card.capabilities.supportsEffort": "Admite esfuerzo de razonamiento",
|
|
669
|
+
"card.capabilities.efforts": "Niveles de esfuerzo (márcalos e introduce el valor wire)",
|
|
670
|
+
"card.capabilities.wirePlaceholder": "Valor wire, p. ej., ultra",
|
|
671
|
+
"card.capabilities.offPlaceholder": "Vacío = no enviar",
|
|
672
|
+
"card.capabilities.atLeastThinking": "Selecciona al menos un nivel de pensamiento (distinto de off)",
|
|
673
|
+
"card.capabilities.applyLevel": "Aplicar niveles",
|
|
674
|
+
"card.capabilities.restoreDefault": "Restaurar valores por defecto",
|
|
675
|
+
"card.capabilities.unsaved": "Sin guardar",
|
|
676
|
+
"card.capabilities.saveChanges": "Guardar cambios",
|
|
677
|
+
"card.capabilities.saved": "Guardado",
|
|
678
|
+
"card.capabilities.thinkingFormat": "Formato de pensamiento",
|
|
679
|
+
"card.capabilities.thinkingFormat.inherit": "Heredar",
|
|
680
|
+
"card.capabilities.contextWindow": "Límite de ventana de contexto",
|
|
681
|
+
"card.capabilities.contextCustomPlaceholder": "Entero personalizado, p. ej., 256000",
|
|
682
|
+
"card.capabilities.contextClear": "Borrar",
|
|
683
|
+
"card.capabilities.contextInteger": "La longitud del contexto debe ser un entero (2000-1000000)",
|
|
684
|
+
"card.capabilities.contextRange": "La longitud del contexto debe estar entre 2000 y 1000000",
|
|
685
|
+
"card.capabilities.contextHint": "Elige un preajuste o introduce un entero (2000–1000000); se escribe en llm-pi-ai para la presión/compactación del contexto y se aplica a la siguiente petición sin reiniciar.",
|
|
686
|
+
"input.context.title": "Ventana de contexto",
|
|
687
|
+
"input.context.globalHint": "Se aplica globalmente a todas las sesiones que usan este modelo (Borrar restaura el valor por defecto)",
|
|
688
|
+
"input.context.unset": "Sin fijar",
|
|
689
|
+
"input.context.custom": "Personalizado",
|
|
690
|
+
"input.context.noModel": "Aún no hay modelo de sesión",
|
|
691
|
+
"input.context.customPlaceholder": "Entero personalizado, p. ej., 256000",
|
|
692
|
+
"input.context.apply": "Aplicar",
|
|
693
|
+
"input.context.clear": "Borrar",
|
|
694
|
+
"input.context.integer": "La longitud del contexto debe ser un entero (2000-1000000)",
|
|
695
|
+
"input.context.range": "La longitud del contexto debe estar entre 2000 y 1000000",
|
|
696
|
+
"model.panel.choose": "Elegir modelo",
|
|
697
|
+
"model.panel.loading": "Cargando el catálogo de modelos…",
|
|
698
|
+
"model.panel.empty": "No hay modelos disponibles",
|
|
699
|
+
"model.panel.window": "Ventana",
|
|
700
|
+
"model.panel.noTarget": "No hay ajustes editables para este modelo",
|
|
701
|
+
"model.panel.unavailable": "El catálogo de modelos no está disponible para esta sesión",
|
|
702
|
+
"input.effort.title": "Esfuerzo de razonamiento",
|
|
703
|
+
"input.effort.default": "Por defecto del proveedor",
|
|
704
|
+
"card.capabilities.failed": "Error al guardar: el valor fue rechazado o entra en conflicto. Revísalo."
|
|
699
705
|
};
|
|
700
706
|
/** The multi-level context-window presets, in ascending order. */
|
|
701
707
|
const CONTEXT_WINDOW_PRESETS = [
|
|
@@ -2771,11 +2777,22 @@ window.__ModuleLoader__.load({
|
|
|
2771
2777
|
function apply(ctx) {
|
|
2772
2778
|
const t = ctx.locale.bind(NS);
|
|
2773
2779
|
ctx.effect(() => {
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2780
|
+
const disposers = [
|
|
2781
|
+
ctx.locale.register(NS, {
|
|
2782
|
+
zh,
|
|
2783
|
+
en
|
|
2784
|
+
}),
|
|
2785
|
+
ctx.locale.register(NS, "ja", ja),
|
|
2786
|
+
ctx.locale.register(NS, "ko", ko),
|
|
2787
|
+
ctx.locale.register(NS, "fr", fr),
|
|
2788
|
+
ctx.locale.register(NS, "de", de),
|
|
2789
|
+
ctx.locale.register(NS, "it", it),
|
|
2790
|
+
ctx.locale.register(NS, "ru", ru),
|
|
2791
|
+
ctx.locale.register(NS, "es", es)
|
|
2792
|
+
];
|
|
2793
|
+
return () => {
|
|
2794
|
+
for (const dispose of disposers) dispose();
|
|
2795
|
+
};
|
|
2779
2796
|
}, "dsh-thinking-levels: dictionaries");
|
|
2780
2797
|
ctx.inject([
|
|
2781
2798
|
"modelDirectories",
|