Closed solution01 closed 9 months ago
@solution01 Read the new .env.example, there is a new variable for that.
I messed up and didnt implemented a decent opt out for that, but you can just fill anything in there if you are not going to use it, like:
SEARCH_API="Whatever"
When booting I have the following message requesting the langchain API Key:
file:///root/assistant/node_modules/.pnpm/@langchain+community@0.0.6/node_modules/@langchain/community/dist/tools/searchapi.js:80 throw new Error("SearchApi requires an API key. Please set it as SEARCHAPI_API_KEY in your .env file, or pass it as a parameter to the SearchApi constructor."); ^ Error: SearchApi requires an API key. Please set it as SEARCHAPI_API_KEY in your .env file, or pass it as a parameter to the SearchApi constructor. at new SearchApi (file:///root/assistant/node_modules/.pnpm/@langchain+community@0.0.6/node_modules/@langchain/community/dist/tools/searchapi.js:80:19) at file:///root/assistant/src/clients/open-router.ts:36:20 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) ELIFECYCLE Command failed with exit code 1.