Details
-
Bug
-
Resolution: Fixed
-
Major
-
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.