@layer_ai/sdk 1.0.93 → 1.0.95
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/generated/types.d.ts +5 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1216,7 +1216,7 @@ export interface ExecuteInferenceV2Output {
|
|
|
1216
1216
|
reference_sets_degraded?: boolean;
|
|
1217
1217
|
/** Names each degraded reference set and why, or null when none is degraded. */
|
|
1218
1218
|
reference_sets_warning?: string | null;
|
|
1219
|
-
/**
|
|
1219
|
+
/** The events this run can deliver, resolved when it was submitted and narrowed by `webhook.events`; empty when no webhook was supplied. Of the outcome events listed (`inference.completed`, `inference.failed`, `inference.cancelled`), only the one that ends the run arrives, and none does when `webhook.events` leaves that one out. The scoring events are listed where this scope has automatic scoring rules, so this is how to tell 'more is coming' from 'that was everything'. Best-effort: a rule turned off mid-run can still remove a listed scoring event, and when the rules cannot be read at submission the scoring events are left out though they may still arrive. */
|
|
1220
1220
|
expected_events?: Array<WebhookEventType>;
|
|
1221
1221
|
}
|
|
1222
1222
|
/** REST request body for executing an inference. workspace_id comes from path. */
|
|
@@ -1898,6 +1898,10 @@ export interface InferenceToolSummary {
|
|
|
1898
1898
|
name: string;
|
|
1899
1899
|
/** What the tool does. */
|
|
1900
1900
|
description: string;
|
|
1901
|
+
/** What the tool's run button says in the Layer app, such as `Remove background`. */
|
|
1902
|
+
submit_label: string;
|
|
1903
|
+
/** What the Layer app says while a run of the tool is in progress, such as `Removing background`. */
|
|
1904
|
+
progress_label: string;
|
|
1901
1905
|
/** `generate` for a tool that makes something new, `edit` for one that changes an asset. */
|
|
1902
1906
|
group: InferenceToolGroup;
|
|
1903
1907
|
/** The type of asset the tool makes. */
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.95";
|