runbios-sdk 0.2.11 → 0.2.12-dev.230

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/client.js CHANGED
@@ -340,7 +340,7 @@ export class HttpClient {
340
340
  constructor(config) {
341
341
  // Default host stays api.runbios.ai for now; cutover to api.runbios.ai is
342
342
  // planned once its DNS exists.
343
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api.runbios.ai').replace(/\/+$/, '');
343
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
344
344
  this.apiKey = config.apiKey ?? envApiKey();
345
345
  this.accessToken = config.accessToken;
346
346
  this.orgId = config.orgId;
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.11";
39
+ export declare const VERSION = "0.2.12-dev.230";
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.11';
39
+ export const VERSION = '0.2.12-dev.230';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
@@ -326,7 +326,7 @@ export class Inference {
326
326
  this.key = config.inferenceKey || envInferenceKey() || envApiKey();
327
327
  // Same default host as HttpClient (api.runbios.ai); api.runbios.ai cutover
328
328
  // is planned once its DNS exists — update both call sites together.
329
- this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api.runbios.ai').replace(/\/+$/, '');
329
+ this.baseUrl = (config.baseUrl || envBaseUrl() || 'https://api-dev.runbios.ai').replace(/\/+$/, '');
330
330
  this.timeout = config.timeout ?? 900_000;
331
331
  this._http = http;
332
332
  }
package/dist/types.d.ts CHANGED
@@ -8,13 +8,13 @@ export interface BiOSConfig {
8
8
  orgId?: string;
9
9
  /** Workspace ID. Optional when using API keys (resolved from the key). Can override for multi-workspace keys. */
10
10
  workspaceId?: string;
11
- /** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api.runbios.ai hostname. */
11
+ /** Base URL for the API. Falls back to the RUNBIOS_BASE_URL environment variable (legacy: BIOS_BASE_URL), then the canonical https://api-dev.runbios.ai hostname. */
12
12
  baseUrl?: string;
13
13
  /** Request timeout in milliseconds. Defaults to 30000. */
14
14
  timeout?: number;
15
15
  /** Default per-deployment inference key. Can be overridden per inference call. */
16
16
  inferenceKey?: string;
17
- /** Inference base URL. Defaults to baseUrl, then https://api.runbios.ai. */
17
+ /** Inference base URL. Defaults to baseUrl, then https://api-dev.runbios.ai. */
18
18
  inferenceBaseUrl?: string;
19
19
  /** End-to-end inference timeout in milliseconds. Defaults to 15 minutes. */
20
20
  inferenceTimeout?: number;
@@ -1159,6 +1159,9 @@ export interface TrainingAdvisorVerdict {
1159
1159
  fits?: boolean;
1160
1160
  /** Smallest GPU count of this type the job fits on; null when none up to the per-job cap. */
1161
1161
  min_gpu_count?: number | null;
1162
+ host_ram_required_gb?: number;
1163
+ host_ram_qualified_stock_known?: boolean;
1164
+ queue_required?: boolean;
1162
1165
  gpu?: {
1163
1166
  platform_type: string;
1164
1167
  sized_as: string;
@@ -1189,6 +1192,7 @@ export interface TrainingAdvisorVerdict {
1189
1192
  measured_history?: {
1190
1193
  tokens_per_second: number;
1191
1194
  memory_anchors: number;
1195
+ memory_anchor_source?: 'trainer_declaration' | 'training_history';
1192
1196
  };
1193
1197
  model_id?: string;
1194
1198
  model_revision?: string;
@@ -1387,6 +1391,9 @@ export interface GPUOption {
1387
1391
  gpu_type: string;
1388
1392
  display_name: string;
1389
1393
  vram_gb: number;
1394
+ host_ram_gb?: number;
1395
+ min_host_ram_gb?: number;
1396
+ host_ram_basis?: 'modelled' | 'measured';
1390
1397
  price_per_hour_cents: number;
1391
1398
  available: boolean;
1392
1399
  available_count: number;
@@ -1427,6 +1434,9 @@ export interface GPUOptionsResponse {
1427
1434
  min_vram_gb: number;
1428
1435
  min_storage_gb: number;
1429
1436
  availability_known: boolean;
1437
+ no_fit?: boolean;
1438
+ host_memory_unverified?: boolean;
1439
+ capacity_message?: string;
1430
1440
  checked_at: string;
1431
1441
  recommended?: {
1432
1442
  gpu_type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.11",
3
+ "version": "0.2.12-dev.230",
4
4
  "description": "Official TypeScript SDK for the Run BiOS training and deployment platform API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",