runbios-sdk 0.2.1-rc.151 → 0.2.1-rc.153
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.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/loop.d.ts +5 -4
- package/dist/resources/loop.js +5 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export declare const VERSION = "0.2.1-rc.
|
|
39
|
+
export declare const VERSION = "0.2.1-rc.153";
|
|
40
40
|
export declare class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
readonly models: Models;
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
|
|
|
36
36
|
* SDK version. Sent as part of the User-Agent header.
|
|
37
37
|
* Must match package.json "version" -- enforced by a contract test.
|
|
38
38
|
*/
|
|
39
|
-
export const VERSION = '0.2.1-rc.
|
|
39
|
+
export const VERSION = '0.2.1-rc.153';
|
|
40
40
|
export class RunBiOS {
|
|
41
41
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
42
42
|
models;
|
package/dist/resources/loop.d.ts
CHANGED
|
@@ -567,10 +567,11 @@ export declare class Loop {
|
|
|
567
567
|
* `valid: false` with an EMPTY `refusals` list is not nothing: check
|
|
568
568
|
* `unreachable`, which names every peer the platform could not reach. The
|
|
569
569
|
* rule is savable in that state and would be paused, but the estimate around
|
|
570
|
-
* it is not trustworthy -- both `worst_hourly_*` are `0
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
* `unreachable.length > 0`
|
|
570
|
+
* it is not trustworthy -- both `worst_hourly_*` are `0`, and so are both
|
|
571
|
+
* `max_*_hours` beside them -- so do not quote those figures to anyone.
|
|
572
|
+
* `model_revision` is empty unless training-service actually pinned a
|
|
573
|
+
* commit; test `unreachable.length > 0` to tell a degraded pass from a
|
|
574
|
+
* refusal.
|
|
574
575
|
*/
|
|
575
576
|
preflightTrainingRule(params: TrainingRulePreflightRequest): Promise<TrainingRulePreflight>;
|
|
576
577
|
/**
|
package/dist/resources/loop.js
CHANGED
|
@@ -776,10 +776,11 @@ export class Loop {
|
|
|
776
776
|
* `valid: false` with an EMPTY `refusals` list is not nothing: check
|
|
777
777
|
* `unreachable`, which names every peer the platform could not reach. The
|
|
778
778
|
* rule is savable in that state and would be paused, but the estimate around
|
|
779
|
-
* it is not trustworthy -- both `worst_hourly_*` are `0
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
* `unreachable.length > 0`
|
|
779
|
+
* it is not trustworthy -- both `worst_hourly_*` are `0`, and so are both
|
|
780
|
+
* `max_*_hours` beside them -- so do not quote those figures to anyone.
|
|
781
|
+
* `model_revision` is empty unless training-service actually pinned a
|
|
782
|
+
* commit; test `unreachable.length > 0` to tell a degraded pass from a
|
|
783
|
+
* refusal.
|
|
783
784
|
*/
|
|
784
785
|
async preflightTrainingRule(params) {
|
|
785
786
|
return this._http.fetchPost('/api/loop/training-rules/preflight', params);
|