@oro-ai/sdk 0.7.6 → 0.7.8
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/dist/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +16 -0
package/dist/index.d.mts
CHANGED
|
@@ -1305,6 +1305,14 @@ type ProblemProgressUpdate = {
|
|
|
1305
1305
|
* S3 key for this problem's logs
|
|
1306
1306
|
*/
|
|
1307
1307
|
logs_s3_key?: (string | null);
|
|
1308
|
+
/**
|
|
1309
|
+
* Number of failed inference calls (429s, timeouts) for this problem
|
|
1310
|
+
*/
|
|
1311
|
+
inference_failure_count?: (number | null);
|
|
1312
|
+
/**
|
|
1313
|
+
* Total number of inference calls made for this problem
|
|
1314
|
+
*/
|
|
1315
|
+
inference_total?: (number | null);
|
|
1308
1316
|
};
|
|
1309
1317
|
/**
|
|
1310
1318
|
* Public representation of a problem.
|
|
@@ -1784,6 +1792,14 @@ type ValidatorProblemResult = {
|
|
|
1784
1792
|
* Last update from this validator
|
|
1785
1793
|
*/
|
|
1786
1794
|
updated_at?: (string | null);
|
|
1795
|
+
/**
|
|
1796
|
+
* Number of failed inference calls for this problem
|
|
1797
|
+
*/
|
|
1798
|
+
inference_failure_count?: (number | null);
|
|
1799
|
+
/**
|
|
1800
|
+
* Total number of inference calls for this problem
|
|
1801
|
+
*/
|
|
1802
|
+
inference_total?: (number | null);
|
|
1787
1803
|
};
|
|
1788
1804
|
/**
|
|
1789
1805
|
* Public representation of a validator.
|
|
@@ -2426,7 +2442,7 @@ declare const banMiner: <ThrowOnError extends boolean = false>(options: OptionsL
|
|
|
2426
2442
|
declare const unbanMiner: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UnbanMinerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, UnbanMinerError, ThrowOnError>;
|
|
2427
2443
|
/**
|
|
2428
2444
|
* Ban a validator
|
|
2429
|
-
* Ban a validator from claiming work.
|
|
2445
|
+
* Ban a validator from claiming work. Revokes any active Chutes tokens.
|
|
2430
2446
|
*/
|
|
2431
2447
|
declare const banValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BanValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, BanValidatorError, ThrowOnError>;
|
|
2432
2448
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1305,6 +1305,14 @@ type ProblemProgressUpdate = {
|
|
|
1305
1305
|
* S3 key for this problem's logs
|
|
1306
1306
|
*/
|
|
1307
1307
|
logs_s3_key?: (string | null);
|
|
1308
|
+
/**
|
|
1309
|
+
* Number of failed inference calls (429s, timeouts) for this problem
|
|
1310
|
+
*/
|
|
1311
|
+
inference_failure_count?: (number | null);
|
|
1312
|
+
/**
|
|
1313
|
+
* Total number of inference calls made for this problem
|
|
1314
|
+
*/
|
|
1315
|
+
inference_total?: (number | null);
|
|
1308
1316
|
};
|
|
1309
1317
|
/**
|
|
1310
1318
|
* Public representation of a problem.
|
|
@@ -1784,6 +1792,14 @@ type ValidatorProblemResult = {
|
|
|
1784
1792
|
* Last update from this validator
|
|
1785
1793
|
*/
|
|
1786
1794
|
updated_at?: (string | null);
|
|
1795
|
+
/**
|
|
1796
|
+
* Number of failed inference calls for this problem
|
|
1797
|
+
*/
|
|
1798
|
+
inference_failure_count?: (number | null);
|
|
1799
|
+
/**
|
|
1800
|
+
* Total number of inference calls for this problem
|
|
1801
|
+
*/
|
|
1802
|
+
inference_total?: (number | null);
|
|
1787
1803
|
};
|
|
1788
1804
|
/**
|
|
1789
1805
|
* Public representation of a validator.
|
|
@@ -2426,7 +2442,7 @@ declare const banMiner: <ThrowOnError extends boolean = false>(options: OptionsL
|
|
|
2426
2442
|
declare const unbanMiner: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UnbanMinerData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, UnbanMinerError, ThrowOnError>;
|
|
2427
2443
|
/**
|
|
2428
2444
|
* Ban a validator
|
|
2429
|
-
* Ban a validator from claiming work.
|
|
2445
|
+
* Ban a validator from claiming work. Revokes any active Chutes tokens.
|
|
2430
2446
|
*/
|
|
2431
2447
|
declare const banValidator: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BanValidatorData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BanResponse, BanValidatorError, ThrowOnError>;
|
|
2432
2448
|
/**
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -363,7 +363,7 @@ export const unbanMiner = <ThrowOnError extends boolean = false>(options: Option
|
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
365
|
* Ban a validator
|
|
366
|
-
* Ban a validator from claiming work.
|
|
366
|
+
* Ban a validator from claiming work. Revokes any active Chutes tokens.
|
|
367
367
|
*/
|
|
368
368
|
export const banValidator = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BanValidatorData, ThrowOnError>) => {
|
|
369
369
|
return (options?.client ?? client).post<BanValidatorResponse, BanValidatorError, ThrowOnError>({
|
|
@@ -1373,6 +1373,14 @@ export type ProblemProgressUpdate = {
|
|
|
1373
1373
|
* S3 key for this problem's logs
|
|
1374
1374
|
*/
|
|
1375
1375
|
logs_s3_key?: (string | null);
|
|
1376
|
+
/**
|
|
1377
|
+
* Number of failed inference calls (429s, timeouts) for this problem
|
|
1378
|
+
*/
|
|
1379
|
+
inference_failure_count?: (number | null);
|
|
1380
|
+
/**
|
|
1381
|
+
* Total number of inference calls made for this problem
|
|
1382
|
+
*/
|
|
1383
|
+
inference_total?: (number | null);
|
|
1376
1384
|
};
|
|
1377
1385
|
|
|
1378
1386
|
/**
|
|
@@ -1879,6 +1887,14 @@ export type ValidatorProblemResult = {
|
|
|
1879
1887
|
* Last update from this validator
|
|
1880
1888
|
*/
|
|
1881
1889
|
updated_at?: (string | null);
|
|
1890
|
+
/**
|
|
1891
|
+
* Number of failed inference calls for this problem
|
|
1892
|
+
*/
|
|
1893
|
+
inference_failure_count?: (number | null);
|
|
1894
|
+
/**
|
|
1895
|
+
* Total number of inference calls for this problem
|
|
1896
|
+
*/
|
|
1897
|
+
inference_total?: (number | null);
|
|
1882
1898
|
};
|
|
1883
1899
|
|
|
1884
1900
|
/**
|