-
Notifications
You must be signed in to change notification settings - Fork 17
chore: upload tavily search class #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR migrates from the deprecated TavilySearchResults
class to the new TavilySearch
class across sample projects and updates dependencies accordingly.
Key changes:
- Replace deprecated
TavilySearchResults
import withTavilySearch
fromlangchain_tavily
- Update dependency specifications to use minimum version constraints and add
langchain-tavily
package - Remove unused optional dependencies section from root pyproject.toml
Reviewed Changes
Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
samples/multi-agent-planner-researcher-coder-distributed/src/multi-agent-distributed/researcher.py | Updates import and instantiation to use TavilySearch instead of deprecated TavilySearchResults |
samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml | Adds langchain-tavily dependency and changes uipath-langchain to minimum version constraint |
samples/RAG-quiz-generator/src/agents/researcher-RAG-agent.py | Updates import and instantiation to use TavilySearch instead of deprecated TavilySearchResults |
samples/RAG-quiz-generator/pyproject.toml | Adds langchain-tavily dependency and changes uipath-langchain to minimum version constraint |
pyproject.toml | Removes unused optional dependencies section for langchain |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
# Conflicts: # samples/RAG-quiz-generator/pyproject.toml # samples/RAG-quiz-generator/uv.lock # samples/multi-agent-planner-researcher-coder-distributed/pyproject.toml # samples/multi-agent-planner-researcher-coder-distributed/uv.lock # uv.lock
79ca18e
to
8e87965
Compare
@@ -0,0 +1,83 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's uncommit this file, please
@@ -0,0 +1,88 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this also needs to be uncommited
This PR is linked to this issue.
It updates the samples to use the new
TavilySearch
class instead of the deprecatedTavilySearchResult
s and also updates theuipath-langchain
dependency.