mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
Repack plugins
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,33 +0,0 @@
|
|||||||
(function(exports, undefined)
|
|
||||||
{
|
|
||||||
// This script must be added after storage.js
|
|
||||||
|
|
||||||
var AI = exports.AI;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Register internal providers
|
|
||||||
AI.Storage.InternalProviders = [];
|
|
||||||
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderOpenAI());
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderTogetherAI());
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderMistral());
|
|
||||||
|
|
||||||
// bug in desktop with simple request
|
|
||||||
if (!AI.isLocalDesktop || AI.getDesktopLocalVersion() >= 8003000)
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderAnthropic());
|
|
||||||
|
|
||||||
if (window["AscDesktopEditor"])
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderGpt4All());
|
|
||||||
|
|
||||||
AI.Storage.InternalProviders.push(new AI.ProviderGroqAI());
|
|
||||||
|
|
||||||
AI.Storage.isInternalProvider = function(name) {
|
|
||||||
for (let i = 0, len = AI.Storage.InternalProviders.length; i < len; i++) {
|
|
||||||
if (name === AI.Storage.InternalProviders[i].name)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
};
|
|
||||||
|
|
||||||
})(window);
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user