@acarmisc/backstage-plugin-litellm-backend 0.17.1 → 0.17.2
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.js +3 -0
- package/dist/index.cjs.js.map +2 -2
- package/dist/routes/bridge.js +7 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12939,6 +12939,9 @@ function registerBridgeRoutes(router, ctx, bridgeOpts) {
|
|
|
12939
12939
|
return;
|
|
12940
12940
|
}
|
|
12941
12941
|
const input = parseResult.data;
|
|
12942
|
+
if (!allowUnlimitedBudget && input.max_budget === void 0) {
|
|
12943
|
+
input.max_budget = provisioningDefaults.maxBudget;
|
|
12944
|
+
}
|
|
12942
12945
|
const userId = resolveBridgeUserId(claims, bridgeIdentity);
|
|
12943
12946
|
const keyCreateCtx = {
|
|
12944
12947
|
client,
|