Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function loadGatewayConfig

    • Parameters

      • workspace: string
      • OptionalexplicitPath: string

      Returns {
          lease: { allowQueryCarrier: boolean };
          listen: { host: string; port: number };
          proxy: {
              allowlistHosts: string[];
              denyByDefault: boolean;
              enabled: boolean;
              port: number;
          };
          redaction: {
              headerKeysDenylist: string[];
              jsonPathsDenylist: string[];
              textRegexDenylist: string[];
          };
          routes: {
              agentId?: string;
              openaiCompatible: boolean;
              prefix: string;
              stripPrefix: boolean;
              upstream: string;
          }[];
          streamPassthrough: boolean;
          upstreams: Record<
              string,
              {
                  allowLocalhost?: boolean;
                  auth: | { env: string; type: "bearer_env" }
                  | { env: string; header: string; type: "header_env" }
                  | { env: string; param: string; type: "query_env" }
                  | { type: "none" };
                  baseUrl: string;
                  providerId?: string;
              },
          >;
      }