Hi there,
my company only allows me to use a dedicated Azure OpenAI endpoint hosted at a URL like this:
https://api.acme.com/openai/gpt-4o/chat/completions
I’ve tried every combination of api_url and route_chat_completions settings in NppOpenAI.ini, but none work. I then discovered in ConfigManager.cpp there’s a check for the presence of “/v1” in the base URL—if it’s missing, “/v1” is always appended.
Because of this forced addition, the plugin cannot communicate with our custom endpoint. Would it be possible to introduce a new configuration option (for example, disable_auto_v1 or skip_v1_insertion) that prevents the plugin from automatically adding “/v1” to the URL? This would allow users with non-standard endpoints to continue using the plugin without modification.
Hi there,
my company only allows me to use a dedicated Azure OpenAI endpoint hosted at a URL like this:
https://api.acme.com/openai/gpt-4o/chat/completions
I’ve tried every combination of
api_urlandroute_chat_completionssettings inNppOpenAI.ini, but none work. I then discovered inConfigManager.cppthere’s a check for the presence of “/v1” in the base URL—if it’s missing, “/v1” is always appended.Because of this forced addition, the plugin cannot communicate with our custom endpoint. Would it be possible to introduce a new configuration option (for example,
disable_auto_v1orskip_v1_insertion) that prevents the plugin from automatically adding “/v1” to the URL? This would allow users with non-standard endpoints to continue using the plugin without modification.