Uploaded image for project: 'LLM AI Integration'
  1. LLM AI Integration
  2. LLMAI-231

The endpoint URLs are invalid when the URL prefix of an AI server does not end with a slash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.1
    • 1.0.0
    • None
    • Unknown

    Description

      When the URL prefix of an AI server is entered without a final slash, e.g. https://llm.example.com/v1, the application requests https://llm.example.com/v1chat/completions and https://llm.example.com/v1embeddings, so chat and indexing fail. With a prefix without path, e.g. https://llm.example.com, even the host name changes (llm.example.comchat).

      Expected: the endpoint paths are appended below the prefix, with or without the final slash, as OpenAI-compatible clients do with their base URL.

      Attachments

        Activity

          People

            GOhrner Gunter Ohrner
            GOhrner Gunter Ohrner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: