[PR #3125] [MERGED] [Human In The Loop Middleware] Rename email tool functions to match its consumption in create_agent #3197

Closed
opened 2026-06-05 18:21:23 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3125
Author: @LakhveerChahal
Created: 3/15/2026
Status: Merged
Merged: 3/16/2026
Merged by: @mdrxy

Base: mainHead: patch-1


📝 Commits (1)

  • 3a5be41 [Human In The Loop Middleware] Rename email tool functions to match its consumption in create_agent

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src/oss/langchain/middleware/built-in.mdx (+2 -2)

📄 Description

Overview

There is a syntax error in the section of Human in the Loop Middleware example.

The tool methods were named as: read_email_tool, send_email_tool
However, in the create_agent call, these tools were being registered as your_read_email_tool and your_send_email_tool which is syntax error in the code.

Type of change

Type: Update existing documentation

Related issues/PRs

N/A

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3125 **Author:** [@LakhveerChahal](https://github.com/LakhveerChahal) **Created:** 3/15/2026 **Status:** ✅ Merged **Merged:** 3/16/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3a5be41`](https://github.com/langchain-ai/docs/commit/3a5be41bbe2e5e7ba94b66e43cfa2608896daad8) [Human In The Loop Middleware] Rename email tool functions to match its consumption in create_agent ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/middleware/built-in.mdx` (+2 -2) </details> ### 📄 Description ## Overview There is a syntax error in the section of Human in the Loop Middleware example. The tool methods were named as: `read_email_tool`, `send_email_tool` However, in the `create_agent` call, these tools were being registered as `your_read_email_tool` and `your_send_email_tool` which is syntax error in the code. ## Type of change **Type:** Update existing documentation ## Related issues/PRs N/A ## Checklist - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:21:23 -04:00
yindo closed this issue 2026-06-05 18:21:23 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3197