Skip to content

refactor!: Remove deprecated Toolset addition APIs - #12353

Closed
krishna3554 wants to merge 1 commit into
deepset-ai:mainfrom
krishna3554:remove-deprecated-toolset-add
Closed

refactor!: Remove deprecated Toolset addition APIs#12353
krishna3554 wants to merge 1 commit into
deepset-ai:mainfrom
krishna3554:remove-deprecated-toolset-add

Conversation

@krishna3554

@krishna3554 krishna3554 commented Aug 14, 2026

Copy link
Copy Markdown

Related Issues

Proposed Changes:

  • Removed deprecated Toolset.__add__.
  • Removed deprecated Toolset.add(toolset) support; add() now accepts only Tool.
  • Removed _ToolsetWrapper, which only existed to support Toolset.__add__.
  • Removed subclass __add__ stubs from SearchableToolset and SkillToolset.
  • Updated tests for the supported toolset.add(tool) behavior and removed tests for deprecated + behavior.

How did you test it?

  • Ran rg "__add__|_ToolsetWrapper|ToolsetWrapper|toolset \\+|\\+ toolset" haystack test and confirmed no active code/test references remain.
  • Ran AST parse check on edited Python files.
  • Could not run hatch run test:unit ... locally because hatch is not installed.

Notes for the reviewer

This follows the planned removal after the deprecations introduced in #12298. _ToolsetWrapper was removed because it only supported the deprecated + path.

Copilot AI lite review requested due to automatic review settings August 14, 2026 18:48
@krishna3554
krishna3554 requested a review from a team as a code owner August 14, 2026 18:48
@krishna3554
krishna3554 requested review from sjrl and removed request for a team August 14, 2026 18:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

@krishna3554 is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

CLAassistant commented Aug 14, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@krishna3554 krishna3554 changed the title removed-deprecated-toolset-add refactor!: Remove deprecated Toolset addition APIs Aug 14, 2026
@anakin87

Copy link
Copy Markdown
Member

Sorry. This issue is not open for contributions and must be done after Haystack 3.1.

@anakin87 anakin87 closed this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toolset: remove deprecated __add__; remove deprecated add(toolset)

4 participants