"Invalid URL" error when adding remote HTTPS OpenAI-compatible provider in AI Agent Desktop 9.3.0.140

Version: ONLYOFFICE Desktop Editors Community 9.3.0.140 (x64) - confirmed up to date

OS: Windows

I am trying to add a remote OpenAI-compatible AI provider in the AI Agent but get an “Invalid URL” error immediately when trying to save.

Steps to reproduce:

  1. Open ONLYOFFICE Desktop Editors 9.3
  2. Go to AI Agent - Settings - Connection - Add provider
  3. Select Provider: OpenAI Compatible
  4. Enter a name
  5. Enter URL: https://api.openai-compat.model-serving.eu01.onstackit.cloud/v1
  6. Enter a valid API key
  7. Click Add provider

Result: “Invalid URL” error. Provider cannot be saved.

Expected result: Provider is accepted and model list is fetched.

Additional finding: When I replace the URL with https://api.openai.com/v1 I get “Invalid API key” instead of “Invalid URL”. This proves the URL format is not the problem - the issue is that OnlyOffice is rejecting the STACKIT domain specifically.

The same STACKIT endpoint works correctly in Open WebUI and other OpenAI-compatible clients.

Note: There is no documentation for the “OpenAI Compatible” provider option in the Desktop AI Agent help center, so it is impossible to know what URL format or domains are expected.

Hello,
Thank you for the details!

First, please try entering the same endpoint without /v1 and check whether the provider can be saved that way.

Also, please try adding this endpoint via Custom providers instead of the built-in provider type. In ONLYOFFICE, custom providers are intended for cases where you need your own provider configuration, including endpoint URLs and headers, and the interface also offers a downloadable template for this setup. Please refer to our documentation: Adding custom providers.

If neither approach works, please send us screenshots of both configurations with the API key hidden, and we will continue investigating.