@aexol/spectral 0.9.246 → 0.9.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +21 -0
- package/dist/generated/zeus/const.d.ts.map +1 -1
- package/dist/generated/zeus/const.js +16 -0
- package/dist/generated/zeus/index.d.ts +73 -0
- package/dist/generated/zeus/index.d.ts.map +1 -1
- package/dist/server/agent-bridge.d.ts.map +1 -1
- package/dist/server/agent-bridge.js +13 -2
- package/dist/server/attachments/cleanup.d.ts +42 -0
- package/dist/server/attachments/cleanup.d.ts.map +1 -0
- package/dist/server/attachments/cleanup.js +100 -0
- package/dist/server/attachments/persist.d.ts +131 -0
- package/dist/server/attachments/persist.d.ts.map +1 -0
- package/dist/server/attachments/persist.js +406 -0
- package/dist/server/session-stream.d.ts +5 -0
- package/dist/server/session-stream.d.ts.map +1 -1
- package/dist/server/session-stream.js +51 -1
- package/dist/server/storage.d.ts +6 -0
- package/dist/server/storage.d.ts.map +1 -1
- package/dist/server/storage.js +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ All notable changes to `@aexol/spectral` are documented here. Format follows
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.9.247] - 2026-10-04
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Added a public built-in model catalog: new `publicModelCatalog` GraphQL
|
|
13
|
+
query (`BuiltInModelCatalogEntry`) exposing built-in UserModels with credit
|
|
14
|
+
pricing per 1M tokens, measured average TPS (output tokens over measured
|
|
15
|
+
duration rows only), owner-configured fallback tok/s on BaseModel,
|
|
16
|
+
last-request time, 30-day request count, and status. The `/models` landing
|
|
17
|
+
page was rebuilt around `models-catalog-section.tsx`.
|
|
18
|
+
- Added `durationMs` capture on CreditUsageEvent in the backend generate and
|
|
19
|
+
refine flows, with database migrations `20261004122612` and
|
|
20
|
+
`20261004135152`.
|
|
21
|
+
- Added cli-node attachment support: persist and cleanup in
|
|
22
|
+
`src/server/attachments` with tests, plus serve, agent-bridge,
|
|
23
|
+
session-stream, and storage changes.
|
|
24
|
+
- Added a Fallback tok/s input to the admin base-models tab.
|
|
25
|
+
|
|
8
26
|
## [0.9.231] - 2026-09-23
|
|
9
27
|
|
|
10
28
|
### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/commands/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAwBH,OAAO,EAAE,WAAW,EAAmB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../src/commands/serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAwBH,OAAO,EAAE,WAAW,EAAmB,MAAM,oBAAoB,CAAC;AAgBlE,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGnE,OAAO,EAAmB,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAsBrE;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAazD;AAED,MAAM,WAAW,eAAe;IAC9B,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,eAAe,CA6B9D;AAED,MAAM,WAAW,eAAe;IAC9B,iEAAiE;IACjE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,uCAAuC;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4CAA4C;IAC5C,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;IAC9E;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,qCAAqC;IACrC,KAAK,EAAE,YAAY,CAAC;IACpB,wDAAwD;IACxD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,4CAA4C;IAC5C,KAAK,EAAE,WAAW,CAAC;IACnB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB;AAED,wBAAsB,QAAQ,CAAC,IAAI,GAAE,eAAoB,GAAG,OAAO,CAAC,cAAc,CAAC,CAurBlF;AAmFD;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,CAsB5E"}
|
package/dist/commands/serve.js
CHANGED
|
@@ -43,6 +43,8 @@ import { getFanoutManager } from "../server/fanout/fanout-manager.js";
|
|
|
43
43
|
import { detachAllSubscribers, handleAutoOptimizeFrame, handleAutoResearchFrame, handleCancelTurn, handleClientMessage, handleRestRequest, handleStopToolCall, handleSubscribe, } from "../relay/dispatcher.js";
|
|
44
44
|
import { ensureMachineRegistered } from "../relay/registration.js";
|
|
45
45
|
import { saveMachine } from "../relay/machine-store.js";
|
|
46
|
+
import { sweepAttachments } from "../server/attachments/cleanup.js";
|
|
47
|
+
import { attachmentsRootFor } from "../server/attachments/persist.js";
|
|
46
48
|
import { SessionStreamManager } from "../server/session-stream.js";
|
|
47
49
|
import { gracefulShutdown } from "../server/shutdown.js";
|
|
48
50
|
import { getLiveMcpState } from "../mcp/state-getter.js";
|
|
@@ -175,6 +177,25 @@ export async function runServe(opts = {}) {
|
|
|
175
177
|
// Best-effort.
|
|
176
178
|
}
|
|
177
179
|
});
|
|
180
|
+
// GC for stale persisted chat attachments (`.spectral/attachments/<id>/`).
|
|
181
|
+
// Fire-and-forget like the offload sweep: never blocks server startup and
|
|
182
|
+
// never takes down serving. Sweeps every known project root (attachments
|
|
183
|
+
// live under the session's project cwd) plus the fallback cwd.
|
|
184
|
+
setImmediate(() => {
|
|
185
|
+
try {
|
|
186
|
+
const activeSessionIds = new Set(store.listAllSessionIds());
|
|
187
|
+
const roots = new Set([attachmentsRootFor(cwd)]);
|
|
188
|
+
for (const project of store.listProjects()) {
|
|
189
|
+
roots.add(attachmentsRootFor(project.path));
|
|
190
|
+
}
|
|
191
|
+
for (const root of roots) {
|
|
192
|
+
sweepAttachments({ root, activeSessionIds });
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
catch {
|
|
196
|
+
// Best-effort.
|
|
197
|
+
}
|
|
198
|
+
});
|
|
178
199
|
// Mutable holder for the meta-event publisher. Bound below once we
|
|
179
200
|
// have both `relay` (the send target) and `registration.record.machineId`
|
|
180
201
|
// (the canonical machineId the backend uses to fan out). The manager
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/generated/zeus/const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAy0B5C,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/generated/zeus/const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAy0B5C,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAC,GAAG,CAqpC1C,CAAA;AAED,eAAO,MAAM,GAAG;;;;CAIf,CAAA"}
|
|
@@ -1018,6 +1018,7 @@ export const ReturnTypes = {
|
|
|
1018
1018
|
subscriptionCompatibleModels: "UserModel",
|
|
1019
1019
|
baseModelCatalog: "CatalogModel",
|
|
1020
1020
|
availableModels: "AvailableModel",
|
|
1021
|
+
publicModelCatalog: "BuiltInModelCatalogEntry",
|
|
1021
1022
|
availablePlans: "PlanInfo",
|
|
1022
1023
|
availableCreditPacks: "CreditPack",
|
|
1023
1024
|
teamSubscription: "BillingSubscription",
|
|
@@ -1524,6 +1525,20 @@ export const ReturnTypes = {
|
|
|
1524
1525
|
supportsImages: "Boolean",
|
|
1525
1526
|
supportsReasoning: "Boolean"
|
|
1526
1527
|
},
|
|
1528
|
+
BuiltInModelCatalogEntry: {
|
|
1529
|
+
slug: "String",
|
|
1530
|
+
name: "String",
|
|
1531
|
+
baseModel: "String",
|
|
1532
|
+
contextWindow: "Int",
|
|
1533
|
+
creditInputPer1M: "Int",
|
|
1534
|
+
creditOutputPer1M: "Int",
|
|
1535
|
+
visibleInStudio: "Boolean",
|
|
1536
|
+
agentEnabled: "Boolean",
|
|
1537
|
+
lastRequestAt: "DateTime",
|
|
1538
|
+
avgTps: "Float",
|
|
1539
|
+
fallbackTps: "Float",
|
|
1540
|
+
requestCount30d: "Int"
|
|
1541
|
+
},
|
|
1527
1542
|
AvailableModel: {
|
|
1528
1543
|
name: "String",
|
|
1529
1544
|
provider: "String",
|
|
@@ -1561,6 +1576,7 @@ export const ReturnTypes = {
|
|
|
1561
1576
|
creditCacheWritePer1M: "Int",
|
|
1562
1577
|
creditPerImage: "Float",
|
|
1563
1578
|
creditPerVideoSecond: "Float",
|
|
1579
|
+
fallbackTps: "Float",
|
|
1564
1580
|
capabilities: "JSON",
|
|
1565
1581
|
family: "String",
|
|
1566
1582
|
enabled: "Boolean",
|
|
@@ -1246,6 +1246,7 @@ export type ValueTypes = {
|
|
|
1246
1246
|
scope?: ValueTypes["ModelScope"] | undefined | null | Variable<any, string>;
|
|
1247
1247
|
teamId?: ValueTypes["ID"] | undefined | null | Variable<any, string>;
|
|
1248
1248
|
}, ValueTypes["AvailableModel"]];
|
|
1249
|
+
publicModelCatalog?: ValueTypes["BuiltInModelCatalogEntry"];
|
|
1249
1250
|
availablePlans?: ValueTypes["PlanInfo"];
|
|
1250
1251
|
availableCreditPacks?: ValueTypes["CreditPack"];
|
|
1251
1252
|
teamSubscription?: [{
|
|
@@ -2460,6 +2461,22 @@ export type ValueTypes = {
|
|
|
2460
2461
|
__typename?: boolean | `@${string}`;
|
|
2461
2462
|
['...on CatalogModel']?: Omit<ValueTypes["CatalogModel"], "...on CatalogModel">;
|
|
2462
2463
|
}>;
|
|
2464
|
+
["BuiltInModelCatalogEntry"]: AliasType<{
|
|
2465
|
+
slug?: boolean | `@${string}`;
|
|
2466
|
+
name?: boolean | `@${string}`;
|
|
2467
|
+
baseModel?: boolean | `@${string}`;
|
|
2468
|
+
contextWindow?: boolean | `@${string}`;
|
|
2469
|
+
creditInputPer1M?: boolean | `@${string}`;
|
|
2470
|
+
creditOutputPer1M?: boolean | `@${string}`;
|
|
2471
|
+
visibleInStudio?: boolean | `@${string}`;
|
|
2472
|
+
agentEnabled?: boolean | `@${string}`;
|
|
2473
|
+
lastRequestAt?: boolean | `@${string}`;
|
|
2474
|
+
avgTps?: boolean | `@${string}`;
|
|
2475
|
+
fallbackTps?: boolean | `@${string}`;
|
|
2476
|
+
requestCount30d?: boolean | `@${string}`;
|
|
2477
|
+
__typename?: boolean | `@${string}`;
|
|
2478
|
+
['...on BuiltInModelCatalogEntry']?: Omit<ValueTypes["BuiltInModelCatalogEntry"], "...on BuiltInModelCatalogEntry">;
|
|
2479
|
+
}>;
|
|
2463
2480
|
["AvailableModel"]: AliasType<{
|
|
2464
2481
|
name?: boolean | `@${string}`;
|
|
2465
2482
|
provider?: boolean | `@${string}`;
|
|
@@ -2499,6 +2516,7 @@ export type ValueTypes = {
|
|
|
2499
2516
|
creditCacheWritePer1M?: boolean | `@${string}`;
|
|
2500
2517
|
creditPerImage?: boolean | `@${string}`;
|
|
2501
2518
|
creditPerVideoSecond?: boolean | `@${string}`;
|
|
2519
|
+
fallbackTps?: boolean | `@${string}`;
|
|
2502
2520
|
capabilities?: boolean | `@${string}`;
|
|
2503
2521
|
family?: boolean | `@${string}`;
|
|
2504
2522
|
enabled?: boolean | `@${string}`;
|
|
@@ -2534,6 +2552,7 @@ export type ValueTypes = {
|
|
|
2534
2552
|
creditCacheWritePer1M?: number | undefined | null | Variable<any, string>;
|
|
2535
2553
|
creditPerImage?: number | undefined | null | Variable<any, string>;
|
|
2536
2554
|
creditPerVideoSecond?: number | undefined | null | Variable<any, string>;
|
|
2555
|
+
fallbackTps?: number | undefined | null | Variable<any, string>;
|
|
2537
2556
|
family?: string | undefined | null | Variable<any, string>;
|
|
2538
2557
|
isDefault?: boolean | undefined | null | Variable<any, string>;
|
|
2539
2558
|
isVisionDefault?: boolean | undefined | null | Variable<any, string>;
|
|
@@ -3597,6 +3616,7 @@ export type ResolverInputTypes = {
|
|
|
3597
3616
|
scope?: ResolverInputTypes["ModelScope"] | undefined | null;
|
|
3598
3617
|
teamId?: ResolverInputTypes["ID"] | undefined | null;
|
|
3599
3618
|
}, ResolverInputTypes["AvailableModel"]];
|
|
3619
|
+
publicModelCatalog?: ResolverInputTypes["BuiltInModelCatalogEntry"];
|
|
3600
3620
|
availablePlans?: ResolverInputTypes["PlanInfo"];
|
|
3601
3621
|
availableCreditPacks?: ResolverInputTypes["CreditPack"];
|
|
3602
3622
|
teamSubscription?: [{
|
|
@@ -4783,6 +4803,21 @@ export type ResolverInputTypes = {
|
|
|
4783
4803
|
supportsReasoning?: boolean | `@${string}`;
|
|
4784
4804
|
__typename?: boolean | `@${string}`;
|
|
4785
4805
|
}>;
|
|
4806
|
+
["BuiltInModelCatalogEntry"]: AliasType<{
|
|
4807
|
+
slug?: boolean | `@${string}`;
|
|
4808
|
+
name?: boolean | `@${string}`;
|
|
4809
|
+
baseModel?: boolean | `@${string}`;
|
|
4810
|
+
contextWindow?: boolean | `@${string}`;
|
|
4811
|
+
creditInputPer1M?: boolean | `@${string}`;
|
|
4812
|
+
creditOutputPer1M?: boolean | `@${string}`;
|
|
4813
|
+
visibleInStudio?: boolean | `@${string}`;
|
|
4814
|
+
agentEnabled?: boolean | `@${string}`;
|
|
4815
|
+
lastRequestAt?: boolean | `@${string}`;
|
|
4816
|
+
avgTps?: boolean | `@${string}`;
|
|
4817
|
+
fallbackTps?: boolean | `@${string}`;
|
|
4818
|
+
requestCount30d?: boolean | `@${string}`;
|
|
4819
|
+
__typename?: boolean | `@${string}`;
|
|
4820
|
+
}>;
|
|
4786
4821
|
["AvailableModel"]: AliasType<{
|
|
4787
4822
|
name?: boolean | `@${string}`;
|
|
4788
4823
|
provider?: boolean | `@${string}`;
|
|
@@ -4821,6 +4856,7 @@ export type ResolverInputTypes = {
|
|
|
4821
4856
|
creditCacheWritePer1M?: boolean | `@${string}`;
|
|
4822
4857
|
creditPerImage?: boolean | `@${string}`;
|
|
4823
4858
|
creditPerVideoSecond?: boolean | `@${string}`;
|
|
4859
|
+
fallbackTps?: boolean | `@${string}`;
|
|
4824
4860
|
capabilities?: boolean | `@${string}`;
|
|
4825
4861
|
family?: boolean | `@${string}`;
|
|
4826
4862
|
enabled?: boolean | `@${string}`;
|
|
@@ -4854,6 +4890,7 @@ export type ResolverInputTypes = {
|
|
|
4854
4890
|
creditCacheWritePer1M?: number | undefined | null;
|
|
4855
4891
|
creditPerImage?: number | undefined | null;
|
|
4856
4892
|
creditPerVideoSecond?: number | undefined | null;
|
|
4893
|
+
fallbackTps?: number | undefined | null;
|
|
4857
4894
|
family?: string | undefined | null;
|
|
4858
4895
|
isDefault?: boolean | undefined | null;
|
|
4859
4896
|
isVisionDefault?: boolean | undefined | null;
|
|
@@ -5774,6 +5811,7 @@ export type ModelTypes = {
|
|
|
5774
5811
|
subscriptionCompatibleModels: Array<ModelTypes["UserModel"]>;
|
|
5775
5812
|
baseModelCatalog: Array<ModelTypes["CatalogModel"]>;
|
|
5776
5813
|
availableModels: Array<ModelTypes["AvailableModel"]>;
|
|
5814
|
+
publicModelCatalog: Array<ModelTypes["BuiltInModelCatalogEntry"]>;
|
|
5777
5815
|
availablePlans: Array<ModelTypes["PlanInfo"]>;
|
|
5778
5816
|
availableCreditPacks: Array<ModelTypes["CreditPack"]>;
|
|
5779
5817
|
teamSubscription?: ModelTypes["BillingSubscription"] | undefined | null;
|
|
@@ -6432,6 +6470,20 @@ export type ModelTypes = {
|
|
|
6432
6470
|
supportsImages?: boolean | undefined | null;
|
|
6433
6471
|
supportsReasoning?: boolean | undefined | null;
|
|
6434
6472
|
};
|
|
6473
|
+
["BuiltInModelCatalogEntry"]: {
|
|
6474
|
+
slug: string;
|
|
6475
|
+
name: string;
|
|
6476
|
+
baseModel: string;
|
|
6477
|
+
contextWindow?: number | undefined | null;
|
|
6478
|
+
creditInputPer1M?: number | undefined | null;
|
|
6479
|
+
creditOutputPer1M?: number | undefined | null;
|
|
6480
|
+
visibleInStudio: boolean;
|
|
6481
|
+
agentEnabled: boolean;
|
|
6482
|
+
lastRequestAt?: ModelTypes["DateTime"] | undefined | null;
|
|
6483
|
+
avgTps?: number | undefined | null;
|
|
6484
|
+
fallbackTps?: number | undefined | null;
|
|
6485
|
+
requestCount30d: number;
|
|
6486
|
+
};
|
|
6435
6487
|
["AvailableModel"]: {
|
|
6436
6488
|
name: string;
|
|
6437
6489
|
provider: string;
|
|
@@ -6469,6 +6521,7 @@ export type ModelTypes = {
|
|
|
6469
6521
|
creditCacheWritePer1M?: number | undefined | null;
|
|
6470
6522
|
creditPerImage?: number | undefined | null;
|
|
6471
6523
|
creditPerVideoSecond?: number | undefined | null;
|
|
6524
|
+
fallbackTps?: number | undefined | null;
|
|
6472
6525
|
capabilities?: ModelTypes["JSON"] | undefined | null;
|
|
6473
6526
|
family?: string | undefined | null;
|
|
6474
6527
|
enabled: boolean;
|
|
@@ -6500,6 +6553,7 @@ export type ModelTypes = {
|
|
|
6500
6553
|
creditCacheWritePer1M?: number | undefined | null;
|
|
6501
6554
|
creditPerImage?: number | undefined | null;
|
|
6502
6555
|
creditPerVideoSecond?: number | undefined | null;
|
|
6556
|
+
fallbackTps?: number | undefined | null;
|
|
6503
6557
|
family?: string | undefined | null;
|
|
6504
6558
|
isDefault?: boolean | undefined | null;
|
|
6505
6559
|
isVisionDefault?: boolean | undefined | null;
|
|
@@ -7518,6 +7572,7 @@ export type GraphQLTypes = {
|
|
|
7518
7572
|
subscriptionCompatibleModels: Array<GraphQLTypes["UserModel"]>;
|
|
7519
7573
|
baseModelCatalog: Array<GraphQLTypes["CatalogModel"]>;
|
|
7520
7574
|
availableModels: Array<GraphQLTypes["AvailableModel"]>;
|
|
7575
|
+
publicModelCatalog: Array<GraphQLTypes["BuiltInModelCatalogEntry"]>;
|
|
7521
7576
|
availablePlans: Array<GraphQLTypes["PlanInfo"]>;
|
|
7522
7577
|
availableCreditPacks: Array<GraphQLTypes["CreditPack"]>;
|
|
7523
7578
|
teamSubscription?: GraphQLTypes["BillingSubscription"] | undefined | null;
|
|
@@ -8237,6 +8292,22 @@ export type GraphQLTypes = {
|
|
|
8237
8292
|
supportsReasoning?: boolean | undefined | null;
|
|
8238
8293
|
['...on CatalogModel']: Omit<GraphQLTypes["CatalogModel"], "...on CatalogModel">;
|
|
8239
8294
|
};
|
|
8295
|
+
["BuiltInModelCatalogEntry"]: {
|
|
8296
|
+
__typename: "BuiltInModelCatalogEntry";
|
|
8297
|
+
slug: string;
|
|
8298
|
+
name: string;
|
|
8299
|
+
baseModel: string;
|
|
8300
|
+
contextWindow?: number | undefined | null;
|
|
8301
|
+
creditInputPer1M?: number | undefined | null;
|
|
8302
|
+
creditOutputPer1M?: number | undefined | null;
|
|
8303
|
+
visibleInStudio: boolean;
|
|
8304
|
+
agentEnabled: boolean;
|
|
8305
|
+
lastRequestAt?: GraphQLTypes["DateTime"] | undefined | null;
|
|
8306
|
+
avgTps?: number | undefined | null;
|
|
8307
|
+
fallbackTps?: number | undefined | null;
|
|
8308
|
+
requestCount30d: number;
|
|
8309
|
+
['...on BuiltInModelCatalogEntry']: Omit<GraphQLTypes["BuiltInModelCatalogEntry"], "...on BuiltInModelCatalogEntry">;
|
|
8310
|
+
};
|
|
8240
8311
|
["AvailableModel"]: {
|
|
8241
8312
|
__typename: "AvailableModel";
|
|
8242
8313
|
name: string;
|
|
@@ -8277,6 +8348,7 @@ export type GraphQLTypes = {
|
|
|
8277
8348
|
creditCacheWritePer1M?: number | undefined | null;
|
|
8278
8349
|
creditPerImage?: number | undefined | null;
|
|
8279
8350
|
creditPerVideoSecond?: number | undefined | null;
|
|
8351
|
+
fallbackTps?: number | undefined | null;
|
|
8280
8352
|
capabilities?: GraphQLTypes["JSON"] | undefined | null;
|
|
8281
8353
|
family?: string | undefined | null;
|
|
8282
8354
|
enabled: boolean;
|
|
@@ -8311,6 +8383,7 @@ export type GraphQLTypes = {
|
|
|
8311
8383
|
creditCacheWritePer1M?: number | undefined | null;
|
|
8312
8384
|
creditPerImage?: number | undefined | null;
|
|
8313
8385
|
creditPerVideoSecond?: number | undefined | null;
|
|
8386
|
+
fallbackTps?: number | undefined | null;
|
|
8314
8387
|
family?: string | undefined | null;
|
|
8315
8388
|
isDefault?: boolean | undefined | null;
|
|
8316
8389
|
isVisionDefault?: boolean | undefined | null;
|