Skip to content

Conversation

@SyedaAnshrahGillani
Copy link

This PR makes the Tavily search timeout configurable, allowing users to adjust the timeout
based on their needs and network conditions. This improves the robustness and reliability of
the application by preventing it from hanging if the Tavily search API is slow or
unresponsive.

Changes:

  • Added a tavily_timeout field to the Configuration class with a default value of 60 seconds.
  • Used the tavily_timeout value from the configuration in the tavily_search_async function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant