Ticket: Make TAVILY_API_KEY optional in latest version
@vana Just created a ticket
Question: TAVILY_API_KEY is required in latest version, it should be optional. /app/node_modules/@langchain/community/dist/tools/tavily_search.cjs:112 throw new Error(
Attempted: I believe the problem was introduced due to this commit: https://github.com/gitroomhq/postiz-app/commit/a0054ac2de69de1a30e6d291c7e5f5c76f4a0091
Working On: Install
Using Postiz On: Kubernates
Take it from here @Postiz
Question: TAVILY_API_KEY is required in latest version, it should be optional. /app/node_modules/@langchain/community/dist/tools/tavily_search.cjs:112 throw new Error(
No Tavily API key found. Either set an environment variable named "TAVILY_API_KEY" or pass an API key as "apiKey".
);
^
Error: No Tavily API key found. Either set an environment variable named "TAVILY_API_KEY" or pass an API key as "apiKey".
at new TavilySearchResults (/app/node_modules/@langchain/community/dist/tools/tavily_search.cjs:112:19)
at Array.<anonymous> (/app/dist/apps/backend/main.js:19896:16)
at webpack_require (/app/dist/apps/backend/main.js:22641:41)
at Object.defineProperty.value (/app/dist/apps/backend/main.js:18855:31)
at webpack_require (/app/dist/apps/backend/main.js:22641:41)
at Object.defineProperty.value (/app/dist/apps/backend/main.js:16094:28)
at webpack_require (/app/dist/apps/backend/main.js:22641:41)
at Object.defineProperty.value (/app/dist/apps/backend/main.js:64:22)
at webpack_require (/app/dist/apps/backend/main.js:22641:41)
at /app/dist/apps/backend/main.js:22660:22
Attempted: I believe the problem was introduced due to this commit: https://github.com/gitroomhq/postiz-app/commit/a0054ac2de69de1a30e6d291c7e5f5c76f4a0091
Working On: Install
Using Postiz On: Kubernates
Take it from here @Postiz
1 Reply
Oh let me fix that