Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Bad request errror at the SearxngSearch Tool

Open seonghobae opened this issue 1 year ago • 3 comments

Describe the bug A clear and concise description of what the bug is. SearxngSearch Tool shows Bad request error even I set tool properly.

To Reproduce Steps to reproduce the behavior:

  1. Go to Searxng tool
  2. Link with worker
  3. Run with Query
  4. See error

Expected behavior A clear and concise description of what you expected to happen. Working without bad requests error.

Screenshots If applicable, add screenshots to help explain your problem. image image

Flow For security reason, I can't export this.

Setup

  • Installation: Docker
  • Flowise Version: 81918d5e3ccd
  • OS: Linux
  • Browser: Safari, Edge

Additional context Add any other context about the problem here. Searxng always works correctly.

seonghobae avatar Jul 17 '24 05:07 seonghobae

same here. attached error captured from langsmith same issue on version 1.8.4 & 1.8.3

`BAD REQUEST

Error: BAD REQUEST at SearxngSearch._call (/usr/local/lib/node_modules/flowise/node_modules/@langchain/community/dist/tools/searxng_search.cjs:120:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SearxngSearch.call (/usr/local/lib/node_modules/flowise/node_modules/@langchain/core/dist/tools.cjs:78:22) at async /usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/src/agents.js:315:39 at async Promise.all (index 0) at async AgentExecutor._call (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/src/agents.js:302:30) at async AgentExecutor.invoke (/usr/local/lib/node_modules/flowise/node_modules/langchain/dist/chains/base.cjs:58:28) at async ConversationalAgent_Agents.run (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/agents/ConversationalAgent/ConversationalAgent.js:119:19) at async utilBuildChatflow (/usr/local/lib/node_modules/flowise/dist/utils/buildChatflow.js:258:15) at async createInternalPrediction (/usr/local/lib/node_modules/flowise/dist/controllers/internal-predictions/index.js:7:29) `

genwch avatar Jul 18 '24 08:07 genwch

I also received BAD REQUEST from searxng until I set Language, Page No. and Safe Search in Additional Parameters in SearXNG in flowise UI. image

VoxBG avatar Aug 12 '24 21:08 VoxBG

how you guys make it working, it seems not fire at my side image

kstan79 avatar Aug 25 '24 13:08 kstan79

Fixed in this PR: https://github.com/FlowiseAI/Flowise/pull/3263

HenryHengZJ avatar Sep 26 '24 10:09 HenryHengZJ