fix: Made the apiKey
parameter optional in the TavilyAnswerTool
and TavilySearchResultsTool
classes
#646
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TavilyAnswerTool
andTavilySearchResultsTool
, into the project. It also includes some code refactoring to make the API key optional for these tools.Documentation Updates:
TavilyAnswerTool
andTavilySearchResultsTool
indocs/modules/agents/tools
anddocs_v2/docs/05-integrations/tools
directories. These pages provide detailed instructions on installation, configuration, usage, and error handling.docs/_sidebar.md
to include links to the new Tavily documentation pages.docs_v2/sidebars.js
to replace the old Tavily search page with the new Tavily answer and search results pages.packages/langchain/README.md
to include links to the new Tavily tools documentation.packages/langchain_community/README.md
to addDirectoryLoader
and update the description for Tavily tools.Code Refactoring:
apiKey
parameter optional in theTavilyAnswerTool
andTavilySearchResultsTool
classes.packages/langchain_community/test/tools/tavily_test.dart
andpackages/tavily_dart/test/tavily_test.dart
to reflect the optionalapiKey
parameter.api_key
requirement from thetavily_openapi.yaml
file.