Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

Merge pull request #774 from superlinked/codex/issue-762-sglang-runtime-lora

svonavad5e024ad3ba6
diff --cc packages/sie_ts_sdk/src/types.ts
index 29c202451,572979c73..d09096f56
--- a/packages/sie_ts_sdk/src/types.ts
+++ b/packages/sie_ts_sdk/src/types.ts
@@@ -367,12 -367,10 +367,14 @@@ export interface ModelInfo
maxSequenceLength?: number | null;
/** Pinned HF commit SHA for the weights; null for unpinned/package-backed models */
revision?: string | null;
+ /** One line about the model; "" when the catalog sets none */
+ description?: string;
+ /** Release date of the served weights, YYYY-MM-DD; "" when the catalog sets none */
+ releaseDate?: string;
/** Servable profiles keyed by name; address one as "model@profile" */
profiles?: Record<string, ProfileInfo>;
+ /** Single-server ready LoRA names; absent on gateways (not fleet residency). */
+ lora_adapters?: string[];
/** Advertised model capabilities; null for models with no `generate` task */
capabilities?: ModelCapabilities | null;
/** Gateway-only queue snapshot; absent when talking to a single server */
@@@ -410,9 -408,8 +412,10 @@@ export interface WireModelInfo
dims?: ModelDims;
max_sequence_length?: number | null;
revision?: string | null;
+ description?: string;
+ release_date?: string;
profiles?: Record<string, ProfileInfo>;
+ lora_adapters?: string[];
capabilities?: ModelCapabilities | null;
pending_generation?: PendingGeneration;
routing?: ModelRouting;
diff --cc packages/wire-fixtures/model_info.json
index 727e9cbdf,af79197e1..f5d230df1
--- a/packages/wire-fixtures/model_info.json
+++ b/packages/wire-fixtures/model_info.json
@@@ -39,8 -38,9 +40,9 @@@
"notes": {
"excluded_scope": "The four excluded keys are merged in by GET /v1/models/{model} for vanilla OpenAI 'retrieve model' clients; on GET /v1/models they live in the sibling `data` array instead, never on a `models` entry.",
"optionality": "Python marks every typed key optional (`total=False`). TypeScript requires `name`, `loaded`, `inputs` and `outputs` on both `ModelInfo` and `WireModelInfo`; its remaining keys are optional. `pending_generation` is gateway-only. `last_error`/`max_sequence_length`/`revision`/`capabilities` are the four the emitters can send as an explicit null, so the SDK types admit null on each. The fixture pins which keys are declarable, not which are always present.",
- "ts_renames": "The TS SDK camelCases three top-level keys \u2014 max_sequence_length -> maxSequenceLength, last_error -> lastError, pending_generation -> pendingGeneration \u2014 and leaves nested objects wire-shaped. Its consumer test checks the wire-side names listed here.",
+ "ts_renames": "The TS SDK camelCases four top-level keys \u2014 max_sequence_length -> maxSequenceLength, last_error -> lastError, pending_generation -> pendingGeneration, release_date -> releaseDate \u2014 and leaves nested objects wire-shaped. Its consumer test checks the wire-side names listed here.",
"aliases": "Short task-tier names resolving to this model. Always emitted, empty when the model has none, so callers can distinguish 'no aliases' from an older gateway. Only catalog- or operator-declared names appear; the gateway's compiled-in routing defaults are not public API and are never listed.",
- "routing": "How the bare model name is served: `policy` (`remote_only`, `fallback`, `threshold`, or null for local only) and `upstream_kind` (`sie`, `openai`, or null). The single server and the gateway emit it on every entry."
+ "routing": "How the bare model name is served: `policy` (`remote_only`, `fallback`, `threshold`, or null for local only) and `upstream_kind` (`sie`, `openai`, or null). The single server and the gateway emit it on every entry.",
+ "lora_adapters": "Single-server only: ready served LoRA names, excluding loading or evicting adapters. Gateways omit this field because they do not aggregate worker residency; capabilities.lora_adapters remains the declared allowlist."
}
}