@grida/ai-models 2.20261118.2 → 2.20261119.0
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/README.md +2 -2
- package/SCHEMA_CHANGELOG.md +21 -0
- package/manifest.json +11 -11
- package/package.json +1 -1
- package/schemas/models.schema.json +109 -18
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ provider bindings, and published prices, with the labs that make them and their
|
|
|
5
5
|
logos. Every fact cites a first-party source.
|
|
6
6
|
|
|
7
7
|
This package is the data, published unchanged from release
|
|
8
|
-
[`v2.
|
|
8
|
+
[`v2.20261119.0`](https://github.com/gridaco/models/releases/tag/v2.20261119.0) of [gridaco/models](https://github.com/gridaco/models). It contains no code.
|
|
9
9
|
|
|
10
10
|
| file | contents |
|
|
11
11
|
| --- | --- |
|
|
@@ -26,7 +26,7 @@ From a CDN, without installing:
|
|
|
26
26
|
|
|
27
27
|
```
|
|
28
28
|
https://cdn.jsdelivr.net/npm/@grida/ai-models@2/models.json
|
|
29
|
-
https://cdn.jsdelivr.net/npm/@grida/ai-models@2.
|
|
29
|
+
https://cdn.jsdelivr.net/npm/@grida/ai-models@2.20261119.0/models.json
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Versions
|
package/SCHEMA_CHANGELOG.md
CHANGED
|
@@ -11,6 +11,27 @@ An entry linked to an open PR does not mean the change has been released. See
|
|
|
11
11
|
|
|
12
12
|
## Schema v2
|
|
13
13
|
|
|
14
|
+
### 2026-11-19 — Text bindings may describe Fast offerings and modes
|
|
15
|
+
|
|
16
|
+
References [issue #53](https://github.com/gridaco/models/issues/53) and
|
|
17
|
+
[PR #54](https://github.com/gridaco/models/pull/54).
|
|
18
|
+
|
|
19
|
+
**Change** adds optional `offerings` and `modes` on text provider bindings. A
|
|
20
|
+
dedicated Fast call ID has its own offering record linked to its canonical model.
|
|
21
|
+
Same-ID Fast uses `modes.fast` with a provider request selector. The records carry
|
|
22
|
+
their own sourced serving terms. Existing input endpoints retain their meaning.
|
|
23
|
+
Generation rejects non-finite numbers, including in nested request selectors,
|
|
24
|
+
before writing catalogue JSON.
|
|
25
|
+
|
|
26
|
+
**Compatibility** is additive. Existing cards continue to validate, and the
|
|
27
|
+
previous v2 schema accepts the new optional binding fields. The v2 envelope,
|
|
28
|
+
model IDs and existing binding and price fields retain their meanings.
|
|
29
|
+
|
|
30
|
+
**Migration** is optional for consumers using existing fields. Consumers that
|
|
31
|
+
offer exact provider-ID lookup can index dedicated `offerings` by provider and
|
|
32
|
+
call ID. Consumers that display same-ID Fast should read `modes.fast` on the base
|
|
33
|
+
binding. Review compatibility before defining additional modes.
|
|
34
|
+
|
|
14
35
|
### 2026-11-15 — Decision offerings may omit an underlying model
|
|
15
36
|
|
|
16
37
|
Reference: [#44](https://github.com/gridaco/models/pull/44).
|
package/manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grida-models",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.20261119.0",
|
|
4
4
|
"schema_version": 2,
|
|
5
|
-
"commit": "
|
|
6
|
-
"created": "2026-11-
|
|
7
|
-
"source": "https://github.com/gridaco/models/tree/
|
|
8
|
-
"digest": "sha256:
|
|
5
|
+
"commit": "18a0a538376d0537d0d7bdc66c95e76cb97de331",
|
|
6
|
+
"created": "2026-11-19T08:58:37Z",
|
|
7
|
+
"source": "https://github.com/gridaco/models/tree/18a0a538376d0537d0d7bdc66c95e76cb97de331/catalogue",
|
|
8
|
+
"digest": "sha256:e06c1d6b716fec41742cf040600bd39b61363eac46fc8f52cf41b1a8edd66cfd",
|
|
9
9
|
"counts": {
|
|
10
10
|
"cards": 111,
|
|
11
11
|
"labs": 18
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"bytes": 114466
|
|
17
17
|
},
|
|
18
18
|
"README.md": {
|
|
19
|
-
"sha256": "
|
|
20
|
-
"bytes":
|
|
19
|
+
"sha256": "525268faf6ccdbaeed229d494133827c0452e5b90a37205c742eca2ab4731c22",
|
|
20
|
+
"bytes": 34020
|
|
21
21
|
},
|
|
22
22
|
"SCHEMA_CHANGELOG.md": {
|
|
23
|
-
"sha256": "
|
|
24
|
-
"bytes":
|
|
23
|
+
"sha256": "771aa456884747316a91b46a63b689a049c270f9ced8e1e7a619463528eba669",
|
|
24
|
+
"bytes": 5203
|
|
25
25
|
},
|
|
26
26
|
"labs.json": {
|
|
27
27
|
"sha256": "b3267fae072fb4b6083f464117a9d5109b5b1237211b8541ecb083b86fd26c53",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"bytes": 2469
|
|
105
105
|
},
|
|
106
106
|
"schemas/models.schema.json": {
|
|
107
|
-
"sha256": "
|
|
108
|
-
"bytes":
|
|
107
|
+
"sha256": "40cffd6b255feb9401b2f7b386e536404c06f7ddfc9b01ac265ec271f4d84162",
|
|
108
|
+
"bytes": 42993
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
package/package.json
CHANGED
|
@@ -409,6 +409,32 @@
|
|
|
409
409
|
"type": "integer",
|
|
410
410
|
"minimum": 1
|
|
411
411
|
},
|
|
412
|
+
"providers": {
|
|
413
|
+
"type": "object",
|
|
414
|
+
"additionalProperties": {
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"offerings": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"minProperties": 1,
|
|
420
|
+
"propertyNames": { "minLength": 1 },
|
|
421
|
+
"additionalProperties": {
|
|
422
|
+
"$ref": "#/$defs/fast_offering"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"modes": {
|
|
426
|
+
"type": "object",
|
|
427
|
+
"additionalProperties": false,
|
|
428
|
+
"required": ["fast"],
|
|
429
|
+
"properties": {
|
|
430
|
+
"fast": {
|
|
431
|
+
"$ref": "#/$defs/fast_mode"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
412
438
|
"cost": {
|
|
413
439
|
"type": "object",
|
|
414
440
|
"additionalProperties": false,
|
|
@@ -452,6 +478,68 @@
|
|
|
452
478
|
}
|
|
453
479
|
}
|
|
454
480
|
},
|
|
481
|
+
"fast_offering": {
|
|
482
|
+
"description": "A separately callable Fast offering of the containing text model.",
|
|
483
|
+
"$ref": "#/$defs/fast_facts",
|
|
484
|
+
"unevaluatedProperties": false,
|
|
485
|
+
"required": ["id", "canonical_model_id", "mode", "label"],
|
|
486
|
+
"properties": {
|
|
487
|
+
"id": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"minLength": 1
|
|
490
|
+
},
|
|
491
|
+
"canonical_model_id": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"minLength": 1
|
|
494
|
+
},
|
|
495
|
+
"mode": { "const": "fast" },
|
|
496
|
+
"label": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"minLength": 1
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"fast_mode": {
|
|
503
|
+
"description": "Fast mode selected by request fields on the base binding ID.",
|
|
504
|
+
"$ref": "#/$defs/fast_facts",
|
|
505
|
+
"unevaluatedProperties": false,
|
|
506
|
+
"required": ["request"]
|
|
507
|
+
},
|
|
508
|
+
"fast_facts": {
|
|
509
|
+
"description": "Provider facts scoped to documented Fast serving.",
|
|
510
|
+
"type": "object",
|
|
511
|
+
"required": ["source_url"],
|
|
512
|
+
"properties": {
|
|
513
|
+
"source_url": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"format": "uri",
|
|
516
|
+
"pattern": "^https://[^/]+(?:/|$)"
|
|
517
|
+
},
|
|
518
|
+
"request": {
|
|
519
|
+
"description": "Native request fields and values selecting Fast for this call ID.",
|
|
520
|
+
"type": "object",
|
|
521
|
+
"minProperties": 1,
|
|
522
|
+
"propertyNames": {
|
|
523
|
+
"not": { "const": "model" }
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"capabilities": {
|
|
527
|
+
"$ref": "#/$defs/capabilities"
|
|
528
|
+
},
|
|
529
|
+
"limits": {
|
|
530
|
+
"$ref": "#/$defs/limits"
|
|
531
|
+
},
|
|
532
|
+
"token_pricing": {
|
|
533
|
+
"$ref": "#/$defs/token_pricing"
|
|
534
|
+
},
|
|
535
|
+
"published_pricing": {
|
|
536
|
+
"$ref": "#/$defs/published_pricing"
|
|
537
|
+
},
|
|
538
|
+
"qualifications": {
|
|
539
|
+
"$ref": "#/$defs/qualifications"
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
},
|
|
455
543
|
"provider_endpoint": {
|
|
456
544
|
"type": "object",
|
|
457
545
|
"additionalProperties": false,
|
|
@@ -1229,24 +1317,7 @@
|
|
|
1229
1317
|
"$ref": "#/$defs/published_pricing"
|
|
1230
1318
|
},
|
|
1231
1319
|
"qualifications": {
|
|
1232
|
-
"
|
|
1233
|
-
"minItems": 1,
|
|
1234
|
-
"items": {
|
|
1235
|
-
"type": "object",
|
|
1236
|
-
"additionalProperties": false,
|
|
1237
|
-
"required": ["source_url", "notes"],
|
|
1238
|
-
"properties": {
|
|
1239
|
-
"source_url": {
|
|
1240
|
-
"type": "string",
|
|
1241
|
-
"format": "uri",
|
|
1242
|
-
"pattern": "^https://[^/]+(?:/|$)"
|
|
1243
|
-
},
|
|
1244
|
-
"notes": {
|
|
1245
|
-
"type": "string",
|
|
1246
|
-
"minLength": 1
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1320
|
+
"$ref": "#/$defs/qualifications"
|
|
1250
1321
|
},
|
|
1251
1322
|
"decision_contract": {
|
|
1252
1323
|
"$ref": "#/$defs/decision_contract"
|
|
@@ -1256,6 +1327,26 @@
|
|
|
1256
1327
|
}
|
|
1257
1328
|
}
|
|
1258
1329
|
},
|
|
1330
|
+
"qualifications": {
|
|
1331
|
+
"type": "array",
|
|
1332
|
+
"minItems": 1,
|
|
1333
|
+
"items": {
|
|
1334
|
+
"type": "object",
|
|
1335
|
+
"additionalProperties": false,
|
|
1336
|
+
"required": ["source_url", "notes"],
|
|
1337
|
+
"properties": {
|
|
1338
|
+
"source_url": {
|
|
1339
|
+
"type": "string",
|
|
1340
|
+
"format": "uri",
|
|
1341
|
+
"pattern": "^https://[^/]+(?:/|$)"
|
|
1342
|
+
},
|
|
1343
|
+
"notes": {
|
|
1344
|
+
"type": "string",
|
|
1345
|
+
"minLength": 1
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1259
1350
|
"decision_contract": {
|
|
1260
1351
|
"type": "object",
|
|
1261
1352
|
"additionalProperties": false,
|