@adaptic/utils 0.0.1018 → 0.0.1020
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.cjs +14 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -11
- package/dist/index.mjs.map +1 -1
- package/dist/types/llm/alias-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -64282,28 +64282,28 @@ var aliases = {
|
|
|
64282
64282
|
{
|
|
64283
64283
|
role: "secondary",
|
|
64284
64284
|
provider: "deepinfra",
|
|
64285
|
-
model_id: "
|
|
64285
|
+
model_id: "openai/gpt-oss-20b",
|
|
64286
64286
|
model_id_status: "confirmed",
|
|
64287
64287
|
model_id_source: "DeepInfra /v1/openai/models catalogue queried against the live account 2026-09-11; tool-calling and latency verified by direct call on the same account",
|
|
64288
|
-
model_family: "
|
|
64289
|
-
lumic_model: "
|
|
64288
|
+
model_family: "gpt-oss-20B",
|
|
64289
|
+
lumic_model: "openai/gpt-oss-20b",
|
|
64290
64290
|
params: {
|
|
64291
64291
|
temperature: null,
|
|
64292
64292
|
max_output_tokens: null,
|
|
64293
64293
|
supports_temperature: true,
|
|
64294
64294
|
supports_json_schema: true,
|
|
64295
64295
|
supports_tools: true,
|
|
64296
|
-
supports_cache_control:
|
|
64297
|
-
supports_vision:
|
|
64298
|
-
context_window:
|
|
64296
|
+
supports_cache_control: false,
|
|
64297
|
+
supports_vision: false,
|
|
64298
|
+
context_window: 131072
|
|
64299
64299
|
},
|
|
64300
64300
|
price_per_mtok: {
|
|
64301
|
-
input: 0.
|
|
64302
|
-
output: 0.
|
|
64301
|
+
input: 0.03,
|
|
64302
|
+
output: 0.14,
|
|
64303
64303
|
as_of: "2026-09-11",
|
|
64304
64304
|
source: "DeepInfra /v1/openai/models catalogue queried against the live account 2026-09-11; tool-calling and latency verified by direct call on the same account"
|
|
64305
64305
|
},
|
|
64306
|
-
notes: "A different lineage from the primary,
|
|
64306
|
+
notes: "A different lineage from the primary, so one family's regression cannot take both serving legs, and fast enough to be a real fallback: median 5.5s against this alias's 30s hot-path budget on a production-scale prompt. It replaces GLM-5.3-Flash, which was chosen for the same lineage reason on a TRIVIAL prompt and measured 13-23s once put against production-sized input — close enough to the budget that the fallback was timing out and returning 408 instead of covering the primary. A fallback with no latency headroom is not a fallback; it is a slower way to fail, which is the exact test this alias's previous secondary was chosen to satisfy and then failed itself."
|
|
64307
64307
|
},
|
|
64308
64308
|
{
|
|
64309
64309
|
role: "closed_incumbent",
|
|
@@ -65280,10 +65280,13 @@ function llmBreakers() {
|
|
|
65280
65280
|
/**
|
|
65281
65281
|
* Resolve the gateway transport, building it on first use.
|
|
65282
65282
|
*
|
|
65283
|
-
*
|
|
65283
|
+
* Takes no chain: the transport is cached for the life of the process and
|
|
65284
|
+
* resolves each request's chain from that request's own route, so binding one
|
|
65285
|
+
* here would tie every later alias to whichever alias happened to build it.
|
|
65286
|
+
*
|
|
65284
65287
|
* @returns The transport, or null when no gateway is configured.
|
|
65285
65288
|
*/
|
|
65286
|
-
function gatewayFor(
|
|
65289
|
+
function gatewayFor() {
|
|
65287
65290
|
if (config.gatewayTransport !== undefined) {
|
|
65288
65291
|
return config.gatewayTransport;
|
|
65289
65292
|
}
|