Skip to content

feat: add WithTools convenience function to react agent - #435

Merged
shentongmartin merged 1 commit into
mainfrom
refactor/react_tool_option
Sep 2, 2025
Merged

feat: add WithTools convenience function to react agent#435
shentongmartin merged 1 commit into
mainfrom
refactor/react_tool_option

Conversation

@shentongmartin

Copy link
Copy Markdown
Contributor

What type of PR is this?

Add WithTools, which is a convenience function that configures a React agent with a list of tools.
It performs two essential operations:

  1. Extracts tool information for the chat model to understand available tools
  2. Registers the actual tool implementations for execution

@shentongmartin
shentongmartin force-pushed the refactor/react_tool_option branch 4 times, most recently from 89e7b53 to cca1299 Compare September 2, 2025 02:25
@github-actions

github-actions Bot commented Sep 2, 2025

Copy link
Copy Markdown

📊 Coverage Report:

File coverage threshold (20%) satisfied:	PASS
Package coverage threshold (30%) satisfied:	PASS
Total coverage threshold (83%) satisfied:	PASS
Total test coverage: 83.9% (4833/5762)

Change-Id: I5688e9ff185982693d26194b2477dfc3dd9051cb
@shentongmartin
shentongmartin force-pushed the refactor/react_tool_option branch from cca1299 to d0ec5fa Compare September 2, 2025 02:48
@shentongmartin
shentongmartin merged commit 75070e0 into main Sep 2, 2025
13 checks passed
@shentongmartin
shentongmartin deleted the refactor/react_tool_option branch September 2, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants