@cubos/agent-sdk 0.0.1165359 → 0.0.1165636
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/schema.d.ts +16 -2
- package/package.json +1 -1
|
@@ -87,7 +87,7 @@ export interface paths {
|
|
|
87
87
|
post?: never;
|
|
88
88
|
/**
|
|
89
89
|
* Delete shared provider
|
|
90
|
-
* @description Same as the per-tenant delete, but for a provider owned by the reserved `_root` system tenant. Root-only.
|
|
90
|
+
* @description Same as the per-tenant delete, but for a provider owned by the reserved `_root` system tenant. Refused with 409 while an agent of any tenant uses one of its models in any model field — the body names each as `tenant/agent`. Root-only.
|
|
91
91
|
*/
|
|
92
92
|
delete: {
|
|
93
93
|
parameters: {
|
|
@@ -126,6 +126,13 @@ export interface paths {
|
|
|
126
126
|
};
|
|
127
127
|
content?: never;
|
|
128
128
|
};
|
|
129
|
+
/** @description An agent still uses one of its models; the body names it. */
|
|
130
|
+
409: {
|
|
131
|
+
headers: {
|
|
132
|
+
[name: string]: unknown;
|
|
133
|
+
};
|
|
134
|
+
content?: never;
|
|
135
|
+
};
|
|
129
136
|
};
|
|
130
137
|
};
|
|
131
138
|
options?: never;
|
|
@@ -3156,7 +3163,7 @@ export interface paths {
|
|
|
3156
3163
|
post?: never;
|
|
3157
3164
|
/**
|
|
3158
3165
|
* Delete provider
|
|
3159
|
-
* @description Deletes the provider and cascades to its cached `provider_models` rows.
|
|
3166
|
+
* @description Deletes the provider and cascades to its cached `provider_models` rows. Refused with 409 while an agent uses any of its models in any model field — the body names the agents; point them at another model first. Only ever touches a provider owned by `tenant_slug` itself — a shared provider is deleted through `DELETE /ai-providers/shared/{slug}` instead.
|
|
3160
3167
|
*/
|
|
3161
3168
|
delete: {
|
|
3162
3169
|
parameters: {
|
|
@@ -3196,6 +3203,13 @@ export interface paths {
|
|
|
3196
3203
|
};
|
|
3197
3204
|
content?: never;
|
|
3198
3205
|
};
|
|
3206
|
+
/** @description An agent still uses one of its models; the body names it. */
|
|
3207
|
+
409: {
|
|
3208
|
+
headers: {
|
|
3209
|
+
[name: string]: unknown;
|
|
3210
|
+
};
|
|
3211
|
+
content?: never;
|
|
3212
|
+
};
|
|
3199
3213
|
};
|
|
3200
3214
|
};
|
|
3201
3215
|
options?: never;
|