@gtrabanco/pi-nan-provider 1.5.3 → 1.5.5
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/AGENTS.md +65 -5
- package/README.es.md +94 -52
- package/README.md +88 -42
- package/package.json +1 -1
- package/scripts/models.generated.ts +239 -59
- package/src/mcp/media-server.ts +1 -1
- package/src/usage.ts +94 -83
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-models.ts
|
|
2
2
|
// Do not edit manually — run `bun run generate-models` to update.
|
|
3
3
|
//
|
|
4
|
-
// Source: https://models.dev/api.json (provider "nan"), fetched 2026-11-
|
|
4
|
+
// Source: https://models.dev/api.json (provider "nan"), fetched 2026-11-16T17:24:10.105Z
|
|
5
5
|
// Provenance: every contextWindow/maxTokens/input/cost value traces to
|
|
6
6
|
// models.dev or to the per-entry notes below. Nothing is invented; entries
|
|
7
7
|
// models.dev documents incompletely are omitted and flagged instead.
|
|
@@ -14,16 +14,16 @@ import type { GeneratedModelEntry } from "../src/fetch-models.ts";
|
|
|
14
14
|
export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
15
15
|
{
|
|
16
16
|
"id": "deepseek-v4-flash",
|
|
17
|
-
"name": "DeepSeek V4.1 Flash",
|
|
17
|
+
"name": "DeepSeek V4.1 Flash 1017",
|
|
18
18
|
"reasoning": true,
|
|
19
19
|
"input": [
|
|
20
20
|
"text",
|
|
21
21
|
"image"
|
|
22
22
|
],
|
|
23
23
|
"cost": {
|
|
24
|
-
"input": 0,
|
|
25
|
-
"output":
|
|
26
|
-
"cacheRead": 0,
|
|
24
|
+
"input": 0.29484,
|
|
25
|
+
"output": 1.17936,
|
|
26
|
+
"cacheRead": 0.0058968,
|
|
27
27
|
"cacheWrite": 0
|
|
28
28
|
},
|
|
29
29
|
"contextWindow": 1048576,
|
|
@@ -47,8 +47,8 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
47
47
|
],
|
|
48
48
|
"extras": {
|
|
49
49
|
"id": "deepseek-v4-flash",
|
|
50
|
-
"name": "DeepSeek V4.1 Flash",
|
|
51
|
-
"description": "DeepSeek V4.1 Flash
|
|
50
|
+
"name": "DeepSeek V4.1 Flash 1017",
|
|
51
|
+
"description": "October 17 update of DeepSeek V4.1 Flash with improved reasoning, coding, agentic tasks, and visual understanding",
|
|
52
52
|
"family": "deepseek-flash",
|
|
53
53
|
"attachment": true,
|
|
54
54
|
"reasoning": true,
|
|
@@ -70,8 +70,8 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
70
70
|
"structured_output": true,
|
|
71
71
|
"temperature": true,
|
|
72
72
|
"knowledge": "2025-05",
|
|
73
|
-
"release_date": "2026-
|
|
74
|
-
"last_updated": "2026-
|
|
73
|
+
"release_date": "2026-10-17",
|
|
74
|
+
"last_updated": "2026-10-17",
|
|
75
75
|
"modalities": {
|
|
76
76
|
"input": [
|
|
77
77
|
"text",
|
|
@@ -87,10 +87,11 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
87
87
|
"output": 384000
|
|
88
88
|
},
|
|
89
89
|
"cost": {
|
|
90
|
-
"input": 0,
|
|
91
|
-
"output":
|
|
90
|
+
"input": 0.29484,
|
|
91
|
+
"output": 1.17936,
|
|
92
|
+
"cache_read": 0.0058968
|
|
92
93
|
},
|
|
93
|
-
"canonical_model_id": "deepseek/deepseek-v4.1-flash"
|
|
94
|
+
"canonical_model_id": "deepseek/deepseek-v4.1-flash-1017"
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
{
|
|
@@ -118,10 +119,51 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
118
119
|
},
|
|
119
120
|
"notes": [
|
|
120
121
|
"compat matches the maintainer's working ~/.pi/agent/models.json LiteLLM config for api.nan.builders (2026-09-04): supportsDeveloperRole false, supportsReasoningEffort true, maxTokensField max_tokens. NaN's docs example sets only supportsDeveloperRole: true and is not battle-tested. supportsFinishReason true (2026-09-13, issue #2): the LiteLLM gateway intermittently closes SSE streams before emitting finish_reason; with true pi-ai raises 'Stream ended without finish_reason', which matches pi-ai's retryable-provider pattern ('ended without') and is retried automatically, whereas false silently synthesized stop/toolUse and stalled the turn mid-answer. supportsUsageInStreaming true (2026-09-16, issue #7): NaN's published schema is silent about stream_options, but the live gateway honors it — two identical streaming calls per model, differing only in stream_options: { include_usage: true }, returned 0 usage chunks without it and exactly 1 with it (prompt/completion/reasoning/cached token counts) on deepseek-v4-flash, glm5.3-flash, qwen3.6, mimo-v2.5 and gemma4, and a real pi session then recorded token counts where it recorded zeros. pi-ai only sends stream_options when this is not false, and the sanitizer forwards it when the model declares true, so chat models opt in by default and usage is reported (issue #4). A model that does not report streaming usage can still opt out per model with a models.json compat override (supportsUsageInStreaming: false); the sanitizer then strips stream_options and the payload stays strict.",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
122
|
+
"NaN external-provider model launched 2026-11-10 (NaN pricing page name 'DeepSeek V4-Pro (0813 version)'). contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 393,216 on models.dev provider deepseek). input text only per models.dev provider deepseek (deepseek-v4-pro), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
123
|
+
"manual-only: \"deepseek-v4-pro\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)"
|
|
123
124
|
],
|
|
124
|
-
"extras": {
|
|
125
|
+
"extras": {
|
|
126
|
+
"id": "deepseek-v4-pro",
|
|
127
|
+
"name": "DeepSeek V4 Pro 0813",
|
|
128
|
+
"description": "DeepSeek V4 Pro snapshot with million-token context and support for thinking and non-thinking modes",
|
|
129
|
+
"family": "deepseek-thinking",
|
|
130
|
+
"attachment": false,
|
|
131
|
+
"reasoning": true,
|
|
132
|
+
"reasoning_options": [
|
|
133
|
+
{
|
|
134
|
+
"type": "effort",
|
|
135
|
+
"values": [
|
|
136
|
+
"none",
|
|
137
|
+
"low",
|
|
138
|
+
"high",
|
|
139
|
+
"max"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"tool_call": true,
|
|
144
|
+
"temperature": true,
|
|
145
|
+
"release_date": "2026-08-13",
|
|
146
|
+
"last_updated": "2026-08-22",
|
|
147
|
+
"modalities": {
|
|
148
|
+
"input": [
|
|
149
|
+
"text"
|
|
150
|
+
],
|
|
151
|
+
"output": [
|
|
152
|
+
"text"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"open_weights": true,
|
|
156
|
+
"limit": {
|
|
157
|
+
"context": 1000000,
|
|
158
|
+
"output": 384000
|
|
159
|
+
},
|
|
160
|
+
"cost": {
|
|
161
|
+
"input": 1.85328,
|
|
162
|
+
"output": 5.55984,
|
|
163
|
+
"cache_read": 0.061776
|
|
164
|
+
},
|
|
165
|
+
"canonical_model_id": "deepseek/deepseek-v4-pro-0813"
|
|
166
|
+
}
|
|
125
167
|
},
|
|
126
168
|
{
|
|
127
169
|
"id": "gemma4",
|
|
@@ -178,6 +220,11 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
178
220
|
"high",
|
|
179
221
|
"max"
|
|
180
222
|
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "budget_tokens",
|
|
226
|
+
"min": 0,
|
|
227
|
+
"max": 32768
|
|
181
228
|
}
|
|
182
229
|
],
|
|
183
230
|
"tool_call": true,
|
|
@@ -215,9 +262,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
215
262
|
"image"
|
|
216
263
|
],
|
|
217
264
|
"cost": {
|
|
218
|
-
"input":
|
|
219
|
-
"output":
|
|
220
|
-
"cacheRead": 0,
|
|
265
|
+
"input": 1.37592,
|
|
266
|
+
"output": 4.32432,
|
|
267
|
+
"cacheRead": 0.029484,
|
|
221
268
|
"cacheWrite": 0
|
|
222
269
|
},
|
|
223
270
|
"contextWindow": 1048576,
|
|
@@ -281,8 +328,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
281
328
|
"output": 131072
|
|
282
329
|
},
|
|
283
330
|
"cost": {
|
|
284
|
-
"input":
|
|
285
|
-
"output":
|
|
331
|
+
"input": 1.37592,
|
|
332
|
+
"output": 4.32432,
|
|
333
|
+
"cache_read": 0.029484
|
|
286
334
|
},
|
|
287
335
|
"canonical_model_id": "zhipuai/glm-5.3"
|
|
288
336
|
}
|
|
@@ -296,9 +344,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
296
344
|
"image"
|
|
297
345
|
],
|
|
298
346
|
"cost": {
|
|
299
|
-
"input": 0,
|
|
300
|
-
"output": 0,
|
|
301
|
-
"cacheRead": 0,
|
|
347
|
+
"input": 0.14742,
|
|
348
|
+
"output": 0.4914,
|
|
349
|
+
"cacheRead": 0.029484,
|
|
302
350
|
"cacheWrite": 0
|
|
303
351
|
},
|
|
304
352
|
"contextWindow": 1048576,
|
|
@@ -364,8 +412,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
364
412
|
"output": 131072
|
|
365
413
|
},
|
|
366
414
|
"cost": {
|
|
367
|
-
"input": 0,
|
|
368
|
-
"output": 0
|
|
415
|
+
"input": 0.14742,
|
|
416
|
+
"output": 0.4914,
|
|
417
|
+
"cache_read": 0.029484
|
|
369
418
|
},
|
|
370
419
|
"canonical_model_id": "zhipuai/glm-5.3-flash"
|
|
371
420
|
}
|
|
@@ -396,10 +445,52 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
396
445
|
},
|
|
397
446
|
"notes": [
|
|
398
447
|
"compat matches the maintainer's working ~/.pi/agent/models.json LiteLLM config for api.nan.builders (2026-09-04): supportsDeveloperRole false, supportsReasoningEffort true, maxTokensField max_tokens. NaN's docs example sets only supportsDeveloperRole: true and is not battle-tested. supportsFinishReason true (2026-09-13, issue #2): the LiteLLM gateway intermittently closes SSE streams before emitting finish_reason; with true pi-ai raises 'Stream ended without finish_reason', which matches pi-ai's retryable-provider pattern ('ended without') and is retried automatically, whereas false silently synthesized stop/toolUse and stalled the turn mid-answer. supportsUsageInStreaming true (2026-09-16, issue #7): NaN's published schema is silent about stream_options, but the live gateway honors it — two identical streaming calls per model, differing only in stream_options: { include_usage: true }, returned 0 usage chunks without it and exactly 1 with it (prompt/completion/reasoning/cached token counts) on deepseek-v4-flash, glm5.3-flash, qwen3.6, mimo-v2.5 and gemma4, and a real pi session then recorded token counts where it recorded zeros. pi-ai only sends stream_options when this is not false, and the sanitizer forwards it when the model declares true, so chat models opt in by default and usage is reported (issue #4). A model that does not report streaming usage can still opt out per model with a models.json compat override (supportsUsageInStreaming: false); the sanitizer then strips stream_options and the payload stays strict.",
|
|
399
|
-
"
|
|
400
|
-
"
|
|
448
|
+
"NaN external-provider model launched 2026-11-10. contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 65,536 on models.dev provider tencent-tokenhub). input text+image per models.dev provider tencent-tokenhub (hy4), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
449
|
+
"manual-only: \"hy4\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)"
|
|
401
450
|
],
|
|
402
|
-
"extras": {
|
|
451
|
+
"extras": {
|
|
452
|
+
"id": "hy4",
|
|
453
|
+
"name": "Hy4",
|
|
454
|
+
"description": "A next-generation multimodal productivity model with significantly enhanced Agent and complex task execution capabilities.",
|
|
455
|
+
"family": "Hy",
|
|
456
|
+
"attachment": true,
|
|
457
|
+
"reasoning": true,
|
|
458
|
+
"reasoning_options": [
|
|
459
|
+
{
|
|
460
|
+
"type": "effort",
|
|
461
|
+
"values": [
|
|
462
|
+
"none",
|
|
463
|
+
"low",
|
|
464
|
+
"high"
|
|
465
|
+
]
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"tool_call": true,
|
|
469
|
+
"temperature": true,
|
|
470
|
+
"release_date": "2026-11-04",
|
|
471
|
+
"last_updated": "2026-11-04",
|
|
472
|
+
"modalities": {
|
|
473
|
+
"input": [
|
|
474
|
+
"text",
|
|
475
|
+
"image"
|
|
476
|
+
],
|
|
477
|
+
"output": [
|
|
478
|
+
"text"
|
|
479
|
+
]
|
|
480
|
+
},
|
|
481
|
+
"open_weights": false,
|
|
482
|
+
"limit": {
|
|
483
|
+
"context": 1048576,
|
|
484
|
+
"input": 983010,
|
|
485
|
+
"output": 65536
|
|
486
|
+
},
|
|
487
|
+
"cost": {
|
|
488
|
+
"input": 1.170936,
|
|
489
|
+
"output": 3.511404,
|
|
490
|
+
"cache_read": 0.058968
|
|
491
|
+
},
|
|
492
|
+
"canonical_model_id": "tencent/hy4"
|
|
493
|
+
}
|
|
403
494
|
},
|
|
404
495
|
{
|
|
405
496
|
"id": "kimi-k3.1-pro",
|
|
@@ -427,10 +518,52 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
427
518
|
},
|
|
428
519
|
"notes": [
|
|
429
520
|
"compat matches the maintainer's working ~/.pi/agent/models.json LiteLLM config for api.nan.builders (2026-09-04): supportsDeveloperRole false, supportsReasoningEffort true, maxTokensField max_tokens. NaN's docs example sets only supportsDeveloperRole: true and is not battle-tested. supportsFinishReason true (2026-09-13, issue #2): the LiteLLM gateway intermittently closes SSE streams before emitting finish_reason; with true pi-ai raises 'Stream ended without finish_reason', which matches pi-ai's retryable-provider pattern ('ended without') and is retried automatically, whereas false silently synthesized stop/toolUse and stalled the turn mid-answer. supportsUsageInStreaming true (2026-09-16, issue #7): NaN's published schema is silent about stream_options, but the live gateway honors it — two identical streaming calls per model, differing only in stream_options: { include_usage: true }, returned 0 usage chunks without it and exactly 1 with it (prompt/completion/reasoning/cached token counts) on deepseek-v4-flash, glm5.3-flash, qwen3.6, mimo-v2.5 and gemma4, and a real pi session then recorded token counts where it recorded zeros. pi-ai only sends stream_options when this is not false, and the sanitizer forwards it when the model declares true, so chat models opt in by default and usage is reported (issue #4). A model that does not report streaming usage can still opt out per model with a models.json compat override (supportsUsageInStreaming: false); the sanitizer then strips stream_options and the payload stays strict.",
|
|
430
|
-
"
|
|
431
|
-
"
|
|
521
|
+
"NaN external-provider model launched 2026-11-10. contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 1,048,576 on models.dev provider moonshotai). input text+image per models.dev provider moonshotai (kimi-k3.1-pro), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
522
|
+
"manual-only: \"kimi-k3.1-pro\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)"
|
|
432
523
|
],
|
|
433
|
-
"extras": {
|
|
524
|
+
"extras": {
|
|
525
|
+
"id": "kimi-k3.1-pro",
|
|
526
|
+
"name": "Kimi K3.1 Pro",
|
|
527
|
+
"description": "Multimodal Kimi model with a 1M-token context window and always-on reasoning, for coding, 3D creation and financial research",
|
|
528
|
+
"family": "kimi-k3",
|
|
529
|
+
"attachment": true,
|
|
530
|
+
"reasoning": true,
|
|
531
|
+
"reasoning_options": [
|
|
532
|
+
{
|
|
533
|
+
"type": "effort",
|
|
534
|
+
"values": [
|
|
535
|
+
"low",
|
|
536
|
+
"high",
|
|
537
|
+
"max"
|
|
538
|
+
]
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"tool_call": true,
|
|
542
|
+
"temperature": false,
|
|
543
|
+
"release_date": "2026-10-23",
|
|
544
|
+
"last_updated": "2026-10-23",
|
|
545
|
+
"modalities": {
|
|
546
|
+
"input": [
|
|
547
|
+
"text",
|
|
548
|
+
"image"
|
|
549
|
+
],
|
|
550
|
+
"output": [
|
|
551
|
+
"text"
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
"open_weights": true,
|
|
555
|
+
"limit": {
|
|
556
|
+
"context": 1048576,
|
|
557
|
+
"output": 1048576
|
|
558
|
+
},
|
|
559
|
+
"cost": {
|
|
560
|
+
"input": 2.808,
|
|
561
|
+
"output": 14.04,
|
|
562
|
+
"cache_read": 0.2808,
|
|
563
|
+
"cache_write": 2.808
|
|
564
|
+
},
|
|
565
|
+
"canonical_model_id": "moonshotai/kimi-k3.1-pro"
|
|
566
|
+
}
|
|
434
567
|
},
|
|
435
568
|
{
|
|
436
569
|
"id": "mimo-v2.6-flash",
|
|
@@ -441,9 +574,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
441
574
|
"image"
|
|
442
575
|
],
|
|
443
576
|
"cost": {
|
|
444
|
-
"input": 0,
|
|
445
|
-
"output": 0,
|
|
446
|
-
"cacheRead": 0,
|
|
577
|
+
"input": 0.19656,
|
|
578
|
+
"output": 0.39312,
|
|
579
|
+
"cacheRead": 0.0039312,
|
|
447
580
|
"cacheWrite": 0
|
|
448
581
|
},
|
|
449
582
|
"contextWindow": 1048576,
|
|
@@ -473,14 +606,7 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
473
606
|
"reasoning": true,
|
|
474
607
|
"reasoning_options": [
|
|
475
608
|
{
|
|
476
|
-
"type": "
|
|
477
|
-
"values": [
|
|
478
|
-
"none",
|
|
479
|
-
"low",
|
|
480
|
-
"medium",
|
|
481
|
-
"high",
|
|
482
|
-
"max"
|
|
483
|
-
]
|
|
609
|
+
"type": "toggle"
|
|
484
610
|
}
|
|
485
611
|
],
|
|
486
612
|
"tool_call": true,
|
|
@@ -503,8 +629,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
503
629
|
"output": 131072
|
|
504
630
|
},
|
|
505
631
|
"cost": {
|
|
506
|
-
"input": 0,
|
|
507
|
-
"output": 0
|
|
632
|
+
"input": 0.19656,
|
|
633
|
+
"output": 0.39312,
|
|
634
|
+
"cache_read": 0.0039312
|
|
508
635
|
},
|
|
509
636
|
"canonical_model_id": "xiaomi/mimo-v2.6-flash"
|
|
510
637
|
}
|
|
@@ -564,6 +691,11 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
564
691
|
"high",
|
|
565
692
|
"max"
|
|
566
693
|
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"type": "budget_tokens",
|
|
697
|
+
"min": 0,
|
|
698
|
+
"max": 32768
|
|
567
699
|
}
|
|
568
700
|
],
|
|
569
701
|
"tool_call": true,
|
|
@@ -601,9 +733,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
601
733
|
"image"
|
|
602
734
|
],
|
|
603
735
|
"cost": {
|
|
604
|
-
"input": 0,
|
|
605
|
-
"output": 0,
|
|
606
|
-
"cacheRead": 0,
|
|
736
|
+
"input": 0.2106,
|
|
737
|
+
"output": 0.65988,
|
|
738
|
+
"cacheRead": 0.022464,
|
|
607
739
|
"cacheWrite": 0
|
|
608
740
|
},
|
|
609
741
|
"contextWindow": 1048576,
|
|
@@ -639,6 +771,11 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
639
771
|
"xhigh",
|
|
640
772
|
"max"
|
|
641
773
|
]
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"type": "budget_tokens",
|
|
777
|
+
"min": 0,
|
|
778
|
+
"max": 32768
|
|
642
779
|
}
|
|
643
780
|
],
|
|
644
781
|
"tool_call": true,
|
|
@@ -661,8 +798,9 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
661
798
|
"output": 131072
|
|
662
799
|
},
|
|
663
800
|
"cost": {
|
|
664
|
-
"input": 0,
|
|
665
|
-
"output": 0
|
|
801
|
+
"input": 0.2106,
|
|
802
|
+
"output": 0.65988,
|
|
803
|
+
"cache_read": 0.022464
|
|
666
804
|
},
|
|
667
805
|
"canonical_model_id": "alibaba/qwen3.8-flash"
|
|
668
806
|
}
|
|
@@ -693,21 +831,62 @@ export const NAN_GENERATED_MODELS: readonly GeneratedModelEntry[] = [
|
|
|
693
831
|
},
|
|
694
832
|
"notes": [
|
|
695
833
|
"compat matches the maintainer's working ~/.pi/agent/models.json LiteLLM config for api.nan.builders (2026-09-04): supportsDeveloperRole false, supportsReasoningEffort true, maxTokensField max_tokens. NaN's docs example sets only supportsDeveloperRole: true and is not battle-tested. supportsFinishReason true (2026-09-13, issue #2): the LiteLLM gateway intermittently closes SSE streams before emitting finish_reason; with true pi-ai raises 'Stream ended without finish_reason', which matches pi-ai's retryable-provider pattern ('ended without') and is retried automatically, whereas false silently synthesized stop/toolUse and stalled the turn mid-answer. supportsUsageInStreaming true (2026-09-16, issue #7): NaN's published schema is silent about stream_options, but the live gateway honors it — two identical streaming calls per model, differing only in stream_options: { include_usage: true }, returned 0 usage chunks without it and exactly 1 with it (prompt/completion/reasoning/cached token counts) on deepseek-v4-flash, glm5.3-flash, qwen3.6, mimo-v2.5 and gemma4, and a real pi session then recorded token counts where it recorded zeros. pi-ai only sends stream_options when this is not false, and the sanitizer forwards it when the model declares true, so chat models opt in by default and usage is reported (issue #4). A model that does not report streaming usage can still opt out per model with a models.json compat override (supportsUsageInStreaming: false); the sanitizer then strips stream_options and the payload stays strict.",
|
|
696
|
-
"
|
|
697
|
-
"
|
|
834
|
+
"NaN external-provider model launched 2026-11-10. contextWindow 1,000,000: NaN pricing page card says '1M context' (maintainer screenshot, 2026-11-10); the first-party vendor value on models.dev provider alibaba (qwen3.8-max) is 1,000,000, the smaller of it and NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi), so the vendor value is used. maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 131,072 on models.dev provider alibaba). input text+image per models.dev provider alibaba (qwen3.8-max), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
835
|
+
"manual-only: \"qwen3.8-max\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)"
|
|
698
836
|
],
|
|
699
|
-
"extras": {
|
|
837
|
+
"extras": {
|
|
838
|
+
"id": "qwen3.8-max",
|
|
839
|
+
"name": "Qwen3.8 Max",
|
|
840
|
+
"description": "2.4-trillion-parameter MoE flagship for coding, professional work, multimodal understanding, and long-horizon agentic workflows",
|
|
841
|
+
"family": "qwen",
|
|
842
|
+
"attachment": true,
|
|
843
|
+
"reasoning": true,
|
|
844
|
+
"reasoning_options": [
|
|
845
|
+
{
|
|
846
|
+
"type": "effort",
|
|
847
|
+
"values": [
|
|
848
|
+
"none",
|
|
849
|
+
"low",
|
|
850
|
+
"medium",
|
|
851
|
+
"xhigh"
|
|
852
|
+
]
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"tool_call": true,
|
|
856
|
+
"temperature": true,
|
|
857
|
+
"release_date": "2026-08-03",
|
|
858
|
+
"last_updated": "2026-08-03",
|
|
859
|
+
"modalities": {
|
|
860
|
+
"input": [
|
|
861
|
+
"text",
|
|
862
|
+
"image"
|
|
863
|
+
],
|
|
864
|
+
"output": [
|
|
865
|
+
"text"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"open_weights": false,
|
|
869
|
+
"limit": {
|
|
870
|
+
"context": 1000000,
|
|
871
|
+
"output": 131072
|
|
872
|
+
},
|
|
873
|
+
"cost": {
|
|
874
|
+
"input": 2.808,
|
|
875
|
+
"output": 8.424,
|
|
876
|
+
"cache_read": 0.351
|
|
877
|
+
},
|
|
878
|
+
"canonical_model_id": "alibaba/qwen3.8-max"
|
|
879
|
+
}
|
|
700
880
|
}
|
|
701
881
|
];
|
|
702
882
|
|
|
703
883
|
export const GENERATED_CATALOG_META = {
|
|
704
884
|
source: "https://models.dev/api.json",
|
|
705
885
|
modelsDevProvider: "nan",
|
|
706
|
-
fetchedAt: "2026-11-
|
|
886
|
+
fetchedAt: "2026-11-16T17:24:10.105Z",
|
|
707
887
|
modelCount: 11,
|
|
708
888
|
models: ["deepseek-v4-flash","deepseek-v4-pro","gemma4","glm5.3","glm5.3-flash","hy4","kimi-k3.1-pro","mimo-v2.6-flash","qwen3.6","qwen3.8-flash","qwen3.8-max"],
|
|
709
889
|
notes: [
|
|
710
|
-
"non-chat: \"qwen-image-2.1\" excluded from the chat catalog (image-generation model (text→image; output modality image) documented in https://nan.builders/docs/models and https://nan.builders/openapi.json (checked 2026-09-29) — not a chat model, out of the static chat catalog (models.dev reports limit.output 0))",
|
|
711
890
|
"provider-removed: \"glm5.2\" excluded from the catalog (removed by NaN (2026-09-05); absent from the official chat model list in https://nan.builders/openapi.json and https://nan.builders/docs/models (checked 2026-09-07) while models.dev provider nan still listed it — excluded so regeneration does not resurrect it)",
|
|
712
891
|
"provider-removed: \"mimo-v2.5\" excluded from the catalog (removed by NaN (checked 2026-09-29): zero mentions in https://nan.builders/docs/models and in the model param description of https://nan.builders/openapi.json, and models.dev provider nan dropped it as well — superseded by mimo-v2.6-flash; excluded so regeneration does not resurrect it)",
|
|
713
892
|
"non-chat: \"qwen3-embedding\" excluded from the chat catalog (embedding endpoint (https://nan.builders/docs/models, checked 2026-10-01) — not a chat model)",
|
|
@@ -715,23 +894,24 @@ export const GENERATED_CATALOG_META = {
|
|
|
715
894
|
"non-chat: \"kokoro\" excluded from the chat catalog (text-to-speech (TTS) endpoint (https://nan.builders/docs/models, checked 2026-10-01) — not a chat model)",
|
|
716
895
|
"non-chat: \"whisper\" excluded from the chat catalog (speech-to-text (STT) endpoint (https://nan.builders/docs/models, checked 2026-10-01) — not a chat model)",
|
|
717
896
|
"non-chat: \"flux-2-klein\" excluded from the chat catalog (image generation endpoint (https://nan.builders/docs/models, checked 2026-10-01) — not a chat model)",
|
|
897
|
+
"non-chat: \"qwen-image-2.1\" excluded from the chat catalog (image-generation model (text→image; output modality image) documented in https://nan.builders/docs/models and https://nan.builders/openapi.json (checked 2026-09-29) — not a chat model, out of the static chat catalog (models.dev reports limit.output 0))",
|
|
718
898
|
"non-chat: \"minimax-h3\" excluded from the chat catalog (video-generation model (output modality video): listed by the live GET https://api.nan.builders/v1/models with owned_by \"nan\" (checked 2026-11-10) next to flux-2-klein and qwen-image-2.1, and models.dev (vercel/minimax/minimax-h3, \"MiniMax H3\", https://models.dev/api.json, checked 2026-11-10) reports output video — not a chat model)",
|
|
719
899
|
"compat matches the maintainer's working ~/.pi/agent/models.json LiteLLM config for api.nan.builders (2026-09-04): supportsDeveloperRole false, supportsReasoningEffort true, maxTokensField max_tokens. NaN's docs example sets only supportsDeveloperRole: true and is not battle-tested. supportsFinishReason true (2026-09-13, issue #2): the LiteLLM gateway intermittently closes SSE streams before emitting finish_reason; with true pi-ai raises 'Stream ended without finish_reason', which matches pi-ai's retryable-provider pattern ('ended without') and is retried automatically, whereas false silently synthesized stop/toolUse and stalled the turn mid-answer. supportsUsageInStreaming true (2026-09-16, issue #7): NaN's published schema is silent about stream_options, but the live gateway honors it — two identical streaming calls per model, differing only in stream_options: { include_usage: true }, returned 0 usage chunks without it and exactly 1 with it (prompt/completion/reasoning/cached token counts) on deepseek-v4-flash, glm5.3-flash, qwen3.6, mimo-v2.5 and gemma4, and a real pi session then recorded token counts where it recorded zeros. pi-ai only sends stream_options when this is not false, and the sanitizer forwards it when the model declares true, so chat models opt in by default and usage is reported (issue #4). A model that does not report streaming usage can still opt out per model with a models.json compat override (supportsUsageInStreaming: false); the sanitizer then strips stream_options and the payload stays strict.",
|
|
720
900
|
"contextWindow 1,048,576: NaN docs state '1M token context' for this model (https://nan.builders/docs/models, checked 2026-10-14). models.dev lists 1,000,000, a rounded form of the same window; the docs value is authoritative (maintainer instruction: docs win over models.dev, which a user updates later). input includes image: NaN serves the Vision-Exp variant ('takes images as input', https://nan.builders/docs/models; the image_url content-parts in https://nan.builders/openapi.json list deepseek-v4-flash among the vision models). models.dev provider nan also lists text+image now (DeepSeek V4.1 Flash entry, checked 2026-09-13), so this stays a pin for the vision capability rather than a divergence. maxTokens 32768 per the official NaN pi docs (https://nan.builders/docs/pi, 'the same set the NaN CLI writes', checked 2026-10-02) closing issue #20 — the gateway now rejects max_tokens above ~256k for this model with 403 permission_error (measured 2026-10-02: 256,000 → 200; 262,143 → 403), and the previous models.dev-derived 384000 made every pi request fail since pi-ai sends max_tokens = model.maxTokens when no cap is set. models.dev still lists 384000, so this override pins the documented value. reasoning_effort_values=[\"none\"] (issue #16, measured 2026-09-27 against live gateway, repro included in the issue): only \"none\" deterministically disables reasoning (0 reasoning tokens, answer produced). Every other value leaves 13-14K reasoning tokens and causes runaway reasoning (finish_reason:\"length\" with ZERO answer text). The catalog declares only [\"none\"] because the remaining values are useless noise. docs vs measurement (re-probed live 2026-10-14): https://nan.builders/docs/models#controlling-reasoning documents the parameter as 'any value (no effect) — the model decides per request', but the live gateway contradicts that: `none` gave 0 reasoning tokens / 0 reasoning chars / a 134-char answer, while `low` gave 57 reasoning tokens and omitting the parameter gave 63 (`minimal` gave 109). The docs are stale here; the measurement wins (maintainer instruction), so the measured behavior is kept. thinkingLevelMap { off: \"none\" } (issue #16, measured 2026-09-27): when pi maps reasoning:\"off\" to reasoningEffort:undefined, the thinkingLevelMap.off=\"none\" supplies the effort so the gateway receives reasoning_effort:\"none\" and does NOT enter runaway reasoning mode.",
|
|
721
|
-
"manual-only: \"deepseek-v4-pro\" not yet on models.dev provider nan (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs).",
|
|
722
901
|
"NaN external-provider model launched 2026-11-10 (NaN pricing page name 'DeepSeek V4-Pro (0813 version)'). contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 393,216 on models.dev provider deepseek). input text only per models.dev provider deepseek (deepseek-v4-pro), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
902
|
+
"manual-only: \"deepseek-v4-pro\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)",
|
|
723
903
|
"thinkingLevelMap { off: \"none\" } (issue #16): NaN docs state that with no reasoning_effort parameter gemma4 defaults to reasoning ON (16,384-token budget), while `none`/`minimal` skip reasoning entirely (https://nan.builders/docs/models#controlling-reasoning, checked 2026-10-01). pi maps reasoning:\"off\" to reasoningEffort:undefined, so without this map `thinking: off` sent no parameter and the model reasoned anyway; the map sends reasoning_effort:\"none\" and actually disables reasoning.",
|
|
724
904
|
"general catalog model since 2026-11-10: NaN announced it no longer has tier-exclusive models ('a partir de ahora ya NO habrá modelos exclusivos por tier'), and the live GET https://api.nan.builders/v1/models lists glm5.3 for a non-premium key (checked 2026-11-10); it used to be premium live-only. The values are the ones it carried as live-only, from https://nan.builders/docs/models (checked 2026-10-14; docs win over models.dev): contextWindow 1,048,576 ('1M token context'; models.dev lists the rounded 1,000,000); input text+image (multimodal; pi represents only text and image — models.dev lists text only, a stale divergence); maxTokens 131,072 (the confirmed maximum models.dev documents; the docs give the same 131K figure for glm5.3-flash and no lower bound); reasoningEffortValues low/medium/high/max per the docs' effort list; name 'GLM 5.3' per the docs (models.dev says 'GLM-5.3'). thinkingLevelMap { off: \"low\" }: the docs list low as the shallowest level, so `thinking: off` sends the shallowest supported effort; glm5.3 itself was never measured (issue #16 covered glm5.3-flash, whose shallowest effective value is 'minimal'), 'low' is the documented floor.",
|
|
725
905
|
"contextWindow 1,048,576: NaN docs state '1M token context' for this model (https://nan.builders/docs/models, checked 2026-10-14). models.dev lists 1,000,000, a rounded form of the same window; the docs value is authoritative (maintainer instruction: docs win over models.dev, which a user updates later). thinkingLevelMap { off: \"minimal\" } (issue #16, measured 2026-09-27 against live gateway, repro included in the issue): when pi maps reasoning:\"off\" to reasoningEffort:undefined, the thinkingLevelMap.off=\"minimal\" supplies the effort so the gateway receives reasoning_effort:\"minimal\" (38 reasoning tokens + answer). Note: \"none\" does NOT suppress reasoning on glm5.3-flash (13,382 tokens) — only \"minimal\" was measured to be effective. reasoning_effort_values includes \"minimal\" (the docs' glm row lists low/medium/high/max, but the 2026-09-27 measurement shows minimal is accepted and effective, issue #16).",
|
|
726
|
-
"manual-only: \"hy4\" not yet on models.dev provider nan (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs).",
|
|
727
906
|
"NaN external-provider model launched 2026-11-10. contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 65,536 on models.dev provider tencent-tokenhub). input text+image per models.dev provider tencent-tokenhub (hy4), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
728
|
-
"manual-only: \"
|
|
907
|
+
"manual-only: \"hy4\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)",
|
|
729
908
|
"NaN external-provider model launched 2026-11-10. contextWindow 1,048,576: NaN pricing page card '1M context' (maintainer screenshot, 2026-11-10) with NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi). maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 1,048,576 on models.dev provider moonshotai). input text+image per models.dev provider moonshotai (kimi-k3.1-pro), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
909
|
+
"manual-only: \"kimi-k3.1-pro\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)",
|
|
730
910
|
"thinkingLevelMap { off: \"none\" } (live re-probe 2026-10-14): the docs list this model as 'accepted, depth not adjustable', but the gateway makes the parameter effective at the off end — `none` gave 0 reasoning tokens / a full answer, while `low` gave 22 reasoning tokens and omitting the parameter gave 17. Measured behavior wins over the docs, so `thinking: off` now sends reasoning_effort:\"none\" and actually disables reasoning. No other level was sampled, so only `off` is mapped.",
|
|
731
911
|
"manual-only: \"mimo-v2.6-flash\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (omnimodal model (text, image, audio input) served by NaN; limits and modalities from https://nan.builders/docs/models#mimo-v2-6-flash (checked 2026-09-25, quotas re-checked 2026-09-29): 1,048,576 context / 131,072 max output / 1.0B monthly quota per member. Tool calling: yes. Streaming: yes. Input modalities (pi-representable): text, image (audio not representable in pi's Model type). Fallback entry: emitted only while models.dev provider nan does not list the model — models.dev started listing it on 2026-09-29, so the generator then keeps the models.dev values and attaches this note to that entry instead of emitting a second one.)",
|
|
732
912
|
"thinkingLevelMap { off: \"none\" } (issue #16): NaN docs state that with no reasoning_effort parameter every model uses its own default and that default is reasoning ON for qwen3.6 (16,384-token budget), while `none` and `minimal` skip the reasoning phase entirely (https://nan.builders/docs/models#controlling-reasoning, checked 2026-10-01). pi maps reasoning:\"off\" to reasoningEffort:undefined, so without this map `thinking: off` sent no parameter and the model reasoned anyway; the map sends reasoning_effort:\"none\" and actually disables reasoning.",
|
|
733
913
|
"contextWindow 1,048,576: NaN docs state '1M token context (1,048,576 tokens)' and 'Max answer 131K tokens' (https://nan.builders/docs/models, checked 2026-10-14) — models.dev still lists 262,144. The earlier override was withdrawn 2026-09-07 when the docs read '262K token context, the model's native window'; the docs now state 1M and they are the source of truth (maintainer instruction: docs win over models.dev, which a user updates later). maxTokens stays 131,072, which models.dev already matches and the docs confirm as the 131K max answer. maxTokensField 'max_completion_tokens' (issue #34, NaN maintainer confirmation received 2026-11-11, quoted verbatim in the issue): on this model max_tokens does NOT bound the reasoning phase, the excess bills against the quota (it explained the 796M tokens against the 500M cap in the 2026-09-27 /v1/usage survey), and max_completion_tokens IS respected as the interim bound. The published OpenAPI schema still documents only max_tokens, so the strict-schema sanitizer exempts this model from its max_completion_tokens→max_tokens rename at request time (SanitizerOptions.preserveMaxCompletionTokens, wired from compat.maxTokensField in src/provider-factory.ts). REVERT: once NaN ships their prepared gateway fix, remove this override — test/issue-34-max-completion-tokens.test.ts fails on purpose until it is removed; accepting max_completion_tokens on the other flash models is unverified live (permission-gated probe needed), so the scope stays this one model.",
|
|
734
|
-
"
|
|
735
|
-
"
|
|
914
|
+
"NaN external-provider model launched 2026-11-10. contextWindow 1,000,000: NaN pricing page card says '1M context' (maintainer screenshot, 2026-11-10); the first-party vendor value on models.dev provider alibaba (qwen3.8-max) is 1,000,000, the smaller of it and NaN's 1M = 1,048,576 convention (https://nan.builders/docs/pi), so the vendor value is used. maxTokens 32,768: https://nan.builders/docs/pi declares 32768 for every 1M-context NaN model (vendor limit 131,072 on models.dev provider alibaba). input text+image per models.dev provider alibaba (qwen3.8-max), reasoning model per the vendor. Existence: live GET https://api.nan.builders/v1/models (checked 2026-11-10); the docs https://nan.builders/docs/models, https://nan.builders/docs/pi and https://nan.builders/openapi.json do not list it yet. reasoningEffortValues [] and no thinkingLevelMap: the gateway's reasoning_effort handling for external providers is unmeasured. cost 0 per maintainer decision.",
|
|
915
|
+
"manual-only: \"qwen3.8-max\" skipped: models.dev provider \"nan\" now lists it, so the manual-only entry is not emitted and the models.dev values are used (NaN external-provider model launched 2026-11-10, listed by the live GET /v1/models but absent from models.dev provider nan and the NaN docs)"
|
|
736
916
|
],
|
|
737
917
|
} as const;
|
package/src/mcp/media-server.ts
CHANGED
|
@@ -27,7 +27,7 @@ export function mediaMcpTimeoutSec(): number {
|
|
|
27
27
|
|
|
28
28
|
export const NAN_MEDIA_MCP_ENV = "NAN_MEDIA_MCP";
|
|
29
29
|
|
|
30
|
-
export const DEFAULT_NAN_MEDIA_MCP_VERSION = "1.
|
|
30
|
+
export const DEFAULT_NAN_MEDIA_MCP_VERSION = "1.5.0";
|
|
31
31
|
export const DEFAULT_MEDIA_MCP_TIMEOUT_MS = 120_000;
|
|
32
32
|
export const NAN_MEDIA_MCP_VERSION_ENV = "NAN_MEDIA_MCP_VERSION";
|
|
33
33
|
export const NAN_MEDIA_MCP_COMMAND_ENV = "NAN_MEDIA_MCP_COMMAND";
|