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

Closed
opened 2026-02-21 18:17:24 -05:00 by yindo · 1 comment
Owner

Originally created by @fdb02983rhy on GitHub (Nov 17, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

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

Originally created by @fdb02983rhy on GitHub (Nov 17, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 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](https://github.com/user-attachments/assets/3f6a2bd9-1b71-41b4-a2ea-798c7c481485) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:17:24 -05:00
yindo closed this issue 2026-02-21 18:17:24 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 17, 2024):

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.

@dosubot[bot] commented on GitHub (Nov 17, 2024): <!-- Answer --> 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 <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/builtin/tavily/tools/tavily_search.yaml)</sup><sup>[[2]](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/builtin/tavily/tools/tavily_search.py)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6807