billion-context 0.1.63-pr.341.196 → 0.1.63-pr.345.199
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55838,9 +55838,9 @@ ${bodyBuffer.toString("utf8")}`);
|
|
|
55838
55838
|
const betaWindow = anthropicBetaContextWindow(req.headers);
|
|
55839
55839
|
const pluginWindow = pluginReportedContextWindow(req.headers);
|
|
55840
55840
|
const launcherWindow = launcherContextWindow(model);
|
|
55841
|
-
const peekWindow = host ? peekRegistryContext(model, host) : void 0;
|
|
55842
55841
|
const configuredWindow = resolveConfiguredContextLimit(opts.routes, embeddedUrl, model);
|
|
55843
|
-
|
|
55842
|
+
const peekWindow = host ? peekRegistryContext(model, host) : void 0;
|
|
55843
|
+
let native = betaWindow ?? pluginWindow ?? launcherWindow ?? configuredWindow ?? peekWindow ?? lookupContextLimit(model);
|
|
55844
55844
|
const operatorWindowTuned = resolveCompress(opts.routes, embeddedUrl, model, opts.compress).modelContextLimit !== void 0;
|
|
55845
55845
|
nativeFromFallback = !betaWindow && !pluginWindow && !launcherWindow && !peekWindow && !configuredWindow && !operatorWindowTuned;
|
|
55846
55846
|
if (!native && host) {
|