@runtypelabs/sdk 1.21.2 → 1.22.0

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.cts CHANGED
@@ -154,7 +154,9 @@ interface ModelConfig {
154
154
  provider: string;
155
155
  modelId: string;
156
156
  displayName?: string;
157
- requiresApiKey: boolean;
157
+ /** @deprecated Use keyStatus instead */
158
+ supportsCustomKey: boolean;
159
+ keyStatus?: 'platform' | 'custom' | 'needs_setup';
158
160
  costPer1kTokens?: number;
159
161
  contextLength?: number;
160
162
  maxOutputTokens?: number;
package/dist/index.d.ts CHANGED
@@ -154,7 +154,9 @@ interface ModelConfig {
154
154
  provider: string;
155
155
  modelId: string;
156
156
  displayName?: string;
157
- requiresApiKey: boolean;
157
+ /** @deprecated Use keyStatus instead */
158
+ supportsCustomKey: boolean;
159
+ keyStatus?: 'platform' | 'custom' | 'needs_setup';
158
160
  costPer1kTokens?: number;
159
161
  contextLength?: number;
160
162
  maxOutputTokens?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "1.21.2",
3
+ "version": "1.22.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",