langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
51.86k stars 7.52k forks source link

Tavily is not returning results based on users' selected options. #10785

Open fdb02983rhy opened 2 hours ago

fdb02983rhy commented 2 hours ago

Self Checks

Dify version

0.11.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

It only return the "Contents" and "URLs", no matter user select inlcude images, raw content etc. image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dosubot[bot] commented 2 hours ago

The issue you're experiencing with the 'Tavily' tool not returning results based on user-selected options, such as including images or raw content, might be related to how these options are processed. The tool uses boolean parameters for include_images and include_raw_content, which default to 'false'. If these options are not being respected, it could be due to a problem in how the parameters are being passed or processed in the code.

Ensure that the parameters are correctly set to 'true' when you want to include images or raw content. If the issue persists, it might be worth checking if there are any recent changes in the codebase or dependencies that could affect this functionality. Additionally, verify that the Tavily Search API is functioning correctly, as it is a dependency for the tool [1][2].

To continue talking to Dosu, mention @dosu.