The ONLYOFFICE editors allow you to add a custom AI provider and configure it according to your preferences.
To configure a custom provider, append it to the list of internal providers in the configuration file, located here.
Ensure you add this script after including storage.js in your codebase for proper dependency management.
storage.js
checkModelCapability