mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
* 🔧 fix: Log warning for aborted operations in AgentClient
* ci: Remove unused saveMessageToDatabase mock in FakeClient initialization
* ci: test actual implementation of saveMessageToDatabase
* refactor: Change log level from warning to error for aborted operations in AgentClient
* refactor: Add className prop to Image component for customizable styling, use theme selectors
* feat: FLUX Image Generation tool
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
const availableTools = require('./manifest.json');
|
|
|
|
// Structured Tools
|
|
const DALLE3 = require('./structured/DALLE3');
|
|
const FluxAPI = require('./structured/FluxAPI');
|
|
const OpenWeather = require('./structured/OpenWeather');
|
|
const StructuredWolfram = require('./structured/Wolfram');
|
|
const createYouTubeTools = require('./structured/YouTube');
|
|
const StructuredACS = require('./structured/AzureAISearch');
|
|
const StructuredSD = require('./structured/StableDiffusion');
|
|
const GoogleSearchAPI = require('./structured/GoogleSearch');
|
|
const TraversaalSearch = require('./structured/TraversaalSearch');
|
|
const TavilySearchResults = require('./structured/TavilySearchResults');
|
|
|
|
/** @type {Record<string, TPlugin | undefined>} */
|
|
const manifestToolMap = {};
|
|
|
|
/** @type {Array<TPlugin>} */
|
|
const toolkits = [];
|
|
|
|
availableTools.forEach((tool) => {
|
|
manifestToolMap[tool.pluginKey] = tool;
|
|
if (tool.toolkit === true) {
|
|
toolkits.push(tool);
|
|
}
|
|
});
|
|
|
|
module.exports = {
|
|
toolkits,
|
|
availableTools,
|
|
manifestToolMap,
|
|
// Structured Tools
|
|
DALLE3,
|
|
FluxAPI,
|
|
OpenWeather,
|
|
StructuredSD,
|
|
StructuredACS,
|
|
GoogleSearchAPI,
|
|
TraversaalSearch,
|
|
StructuredWolfram,
|
|
createYouTubeTools,
|
|
TavilySearchResults,
|
|
};
|