Skip to content

Conversation

radugheo
Copy link
Collaborator

@radugheo radugheo commented Sep 3, 2025

This PR is linked to this issue.
It updates the samples to use the new TavilySearch class instead of the deprecated TavilySearchResults and also updates the uipath-langchain dependency.

Copilot

This comment was marked as outdated.

Copy link

@Copilot Copilot AI left a 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 with TavilySearch from langchain_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.

@radugheo radugheo self-assigned this Sep 5, 2025
@radu-mocanu
Copy link
Collaborator

radu-mocanu commented Sep 8, 2025

uipath-langchain dependency updates were addressed as part of this PR #159.
the current branch should be rebased on top of this

# 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
@radugheo radugheo force-pushed the chore/update-deprecated-lib branch from 79ca18e to 8e87965 Compare September 9, 2025 16:20
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Collaborator

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"?>
Copy link
Collaborator

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

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.

2 participants