Skip to content

Commit

Permalink
Merge branch 'jm-production' of https://github.com/jmaddington/LibreChat
Browse files Browse the repository at this point in the history
 into jm-production
  • Loading branch information
jmaddington committed Dec 17, 2024
2 parents ea38c28 + 4a73418 commit 531a412
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
4 changes: 2 additions & 2 deletions api/app/clients/tools/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const StructuredSD = require('./structured/StableDiffusion');
const GoogleSearchAPI = require('./structured/GoogleSearch');
const TraversaalSearch = require('./structured/TraversaalSearch');
const TavilySearchResults = require('./structured/TavilySearchResults');
const FluxAPI = require('./structured/FluxAPI');
const FluxAPI = require('./structured/FluxAPI');=======
const WebNavigator = require('./structured/WebNavigator');
const E2BCode = require('./structured/E2BCode');
const OpenWeather = require('./structured/OpenWeather');
Expand All @@ -23,7 +23,7 @@ module.exports = {
TraversaalSearch,
StructuredWolfram,
TavilySearchResults,
FluxAPI,
FluxAPI
WebNavigator,
E2BCode,
OpenWeather,
Expand Down
14 changes: 0 additions & 14 deletions api/app/clients/tools/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,6 @@
}
]
},
{
"name": "Flux",
"pluginKey": "flux",
"description": "Generate images using text with the Flux API.",
"icon": "/assets/flux.png",
"isAuthRequired": "true",
"authConfig": [
{
"authField": "FLUX_API_KEY",
"label": "Your Flux API Key",
"description": "Provide your Flux API key from your user profile."
}
]
},
{
"name": "WebNavigator",
"pluginKey": "WebNavigator",
Expand Down
2 changes: 2 additions & 0 deletions api/app/clients/tools/util/handleTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ const loadTools = async ({
const toolAuthFields = {};
toolAuthFields['flux'] = ['FLUX_API_KEY'];

toolAuthFields['flux'] = ['FLUX_API_KEY'];

availableTools.forEach((tool) => {
if (customConstructors[tool.pluginKey]) {
return;
Expand Down

0 comments on commit 531a412

Please sign in to comment.