This issue has been created
 
 
LLM AI Integration / cid:jira-generated-image-avatar-5fa64528-1aa1-4dd3-b495-6f7cec15a7a2 LLMAI-231 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-27c3aa53-22fc-44c9-b78c-e3470585f4b6 Gunter Ohrner created this issue on 15/Nov/26 12:23
 
Summary: The endpoint URLs are invalid when the URL prefix of an AI server does not end with a slas
Issue Type: cid:jira-generated-image-avatar-5fa64528-1aa1-4dd3-b495-6f7cec15a7a2 Bug
Affects Versions: 1.0.0
Assignee: Unassigned
Created: 15/Nov/26 12:23
Priority: cid:jira-generated-image-static-major-c23e2449-7e98-4741-b35b-9e238e16c8b0 Major
Reporter: Gunter Ohrner
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.