@acarmisc/backstage-plugin-litellm-backend 0.8.1 → 0.9.0

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/config.d.ts CHANGED
@@ -158,7 +158,7 @@ export interface Config {
158
158
 
159
159
  /**
160
160
  * Keycloak realm issuer used to fetch JWKS and verify the token issuer,
161
- * e.g. https://auth.ces.abssrv.it/realms/solution-innovation.
161
+ * e.g. https://auth.example.com/realms/solution-innovation.
162
162
  * Required when enabled.
163
163
  */
164
164
  issuer?: string;
package/dist/bridge.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface TokenVerifier {
17
17
  }
18
18
  export interface BridgeConfig {
19
19
  enabled: boolean;
20
- /** Keycloak realm issuer, e.g. https://auth.ces.abssrv.it/realms/solution-innovation. */
20
+ /** Keycloak realm issuer, e.g. https://auth.example.com/realms/solution-innovation. */
21
21
  issuer?: string;
22
22
  /** OIDC public client the CLI uses; checked against azp / aud. */
23
23
  clientId: string;
package/dist/bridge.js CHANGED
@@ -89,7 +89,7 @@ exports.KeycloakJWTVerifier = KeycloakJWTVerifier;
89
89
  function newDefaultVerifier(cfg) {
90
90
  if (!cfg.issuer) {
91
91
  throw new BridgeConfigError('litellm.bridge.issuer is required when litellm.bridge.enabled is true ' +
92
- '(e.g. https://auth.ces.abssrv.it/realms/solution-innovation)');
92
+ '(e.g. https://auth.example.com/realms/solution-innovation)');
93
93
  }
94
94
  return new KeycloakJWTVerifier({ issuer: cfg.issuer, clientId: cfg.clientId });
95
95
  }
package/dist/client.js CHANGED
@@ -269,6 +269,7 @@ class LiteLLMClient {
269
269
  output_cost_per_token: info.output_cost_per_token ?? params.output_cost_per_token,
270
270
  max_input_tokens: info.max_input_tokens ?? m.max_input_tokens,
271
271
  max_output_tokens: info.max_output_tokens ?? m.max_output_tokens,
272
+ access_groups: info.access_groups ?? m.access_groups,
272
273
  };
273
274
  });
274
275
  const filtered = normalised.filter(m => m.model_name);