open-agents-ai 0.103.40 → 0.103.41
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/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46970,7 +46970,7 @@ Respond concisely and safely. Remember: you are talking to the general public.`;
|
|
|
46970
46970
|
let targetUrl;
|
|
46971
46971
|
if (kindOrUrl === "passthrough" || passthrough) {
|
|
46972
46972
|
kind = "custom";
|
|
46973
|
-
targetUrl = normalizeBaseUrl(
|
|
46973
|
+
targetUrl = normalizeBaseUrl(currentConfig.backendUrl);
|
|
46974
46974
|
passthrough = true;
|
|
46975
46975
|
} else if (knownKinds.includes(kindOrUrl)) {
|
|
46976
46976
|
kind = kindOrUrl;
|
|
@@ -46999,7 +46999,7 @@ Respond concisely and safely. Remember: you are talking to the general public.`;
|
|
|
46999
46999
|
stateDir: join50(repoRoot, ".oa"),
|
|
47000
47000
|
passthrough: passthrough ?? false,
|
|
47001
47001
|
loadbalance: loadbalance ?? false,
|
|
47002
|
-
endpointAuth: passthrough ?
|
|
47002
|
+
endpointAuth: passthrough ? currentConfig.apiKey : void 0,
|
|
47003
47003
|
onInfo: (msg) => {
|
|
47004
47004
|
exposeSpinnerMsg = msg;
|
|
47005
47005
|
},
|
package/package.json
CHANGED