mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
refactor(langchain/tools): move availableTools import to tools/index.js
This commit is contained in:
parent
a42ef2944c
commit
d339c291fa
4 changed files with 6 additions and 6 deletions
|
|
@ -9,6 +9,7 @@ const { ChatOpenAI } = require('langchain/chat_models/openai');
|
|||
const { Calculator } = require('langchain/tools/calculator');
|
||||
const { WebBrowser } = require('langchain/tools/webbrowser');
|
||||
const {
|
||||
availableTools,
|
||||
AIPluginTool,
|
||||
GoogleSearchAPI,
|
||||
WolframAlphaAPI,
|
||||
|
|
@ -17,7 +18,6 @@ const {
|
|||
StableDiffusionAPI,
|
||||
StructuredSD,
|
||||
} = require('../');
|
||||
const availableTools = require('../manifest.json');
|
||||
|
||||
const validateTools = async (user, tools = []) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue