@jacobbd/relay-ai 0.9.3 → 0.9.4
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/{chunk-PVGAE7HA.js → chunk-KDIY732Q.js} +6 -3
- package/dist/chunk-KDIY732Q.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/{ui-command-JQPEZAMN.js → ui-command-OIY4243G.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-PVGAE7HA.js.map +0 -1
- /package/dist/{ui-command-JQPEZAMN.js.map → ui-command-OIY4243G.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import { join } from "path";
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@jacobbd/relay-ai",
|
|
14
|
-
version: "0.9.
|
|
14
|
+
version: "0.9.4",
|
|
15
15
|
publishConfig: {
|
|
16
16
|
access: "public"
|
|
17
17
|
},
|
|
@@ -3746,8 +3746,11 @@ function buildChildEnv(baseUrl, model, apiKey, proxyPort, contextWindow2, enable
|
|
|
3746
3746
|
env["ANTHROPIC_API_KEY"] = apiKey;
|
|
3747
3747
|
const bareModel = stripOneMContextSuffix(model);
|
|
3748
3748
|
env["ANTHROPIC_MODEL"] = claudeCodeClientModelId(model, contextWindow2);
|
|
3749
|
-
|
|
3749
|
+
if (!enableGatewayDiscovery) {
|
|
3750
|
+
env["CLAUDE_CODE_MAX_CONTEXT_TOKENS"] = String(resolveContextWindow(bareModel, contextWindow2));
|
|
3751
|
+
}
|
|
3750
3752
|
if (enableGatewayDiscovery) {
|
|
3753
|
+
delete env["CLAUDE_CODE_MAX_CONTEXT_TOKENS"];
|
|
3751
3754
|
env["CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY"] = "1";
|
|
3752
3755
|
}
|
|
3753
3756
|
applyClaudeCodeThirdPartyCompat(env);
|
|
@@ -13841,4 +13844,4 @@ export {
|
|
|
13841
13844
|
supportsClaudeTransparentMode,
|
|
13842
13845
|
buildHttpProxyRoutes
|
|
13843
13846
|
};
|
|
13844
|
-
//# sourceMappingURL=chunk-
|
|
13847
|
+
//# sourceMappingURL=chunk-KDIY732Q.js.map
|