AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Function assertBaseUrl

    • Validate a user-supplied AI endpoint URL; the raw URL is never interpolated into an error. When carriesSecret, plaintext http to a remote host and link-local/metadata hosts are refused.

      Parameters

      • url: string
      • carriesSecret: boolean

      Returns void