@grida/ai-models 2.20261118.2 → 2.20261119.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/README.md +2 -2
- package/SCHEMA_CHANGELOG.md +21 -0
- package/manifest.json +13 -13
- package/models.json +2784 -43
- package/package.json +1 -1
- package/schemas/models.schema.json +109 -18
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,
|