Page 1 of 1

Prefix of "v1" is always added in my open AI URL

Posted: Thu May 29, 2025 11:11 am
by hongyung
Hi,
I would like to verify if we can remove the prefix of "/v1" of the openAI connection that added to the URL.
e.g, my on prem AI api is expecting API call of https://myai/chat/completions without any api versioning prefix.
I have configured the open AI address in the plugin Preference to "https://myai"
but the AI positron plugin always add the "/v1" which becomes https://myai/v1/chat/completions.
my on prem returned http 404 when AI positron posted with URL https://myai/v1/chat/completions

Re: Prefix of "v1" is always added in my open AI URL

Posted: Thu May 29, 2025 2:30 pm
by Radu
Hi,

You need to obey exactly the API end point specification and use "/v1/chat/completions".
https://platform.openai.com/docs/api-re ... hat/create

Regards,
Radu