MAIDR Documentation - v3.69.0
    Preparing search index...

    Function normalizeOllamaBaseUrl

    • Normalizes an Ollama server base URL by trimming whitespace and trailing slashes, falling back to the default local server when blank.

      Parameters

      • OptionalbaseUrl: string

        The user-provided server base URL

      Returns string

      The normalized base URL