[PR #2665] [MERGED] fix: Fixed example issue in the SQL agent doc from python to typescript #2647

Closed
opened 2026-02-17 17:23:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2665
Author: @ashutoshray-dev
Created: 2/15/2026
Status: Merged
Merged: 6/1/2026
Merged by: @npentrel

Base: mainHead: preview-fix-pythonexample-to-typescript


📝 Commits (2)

  • a06a927 fix: Fixed example issue in the SQL agent doc from python to typescript
  • 941ab4a update snippets after testing

📊 Changes

9 files changed (+333 additions, -22 deletions)

View changed files

📝 src/code-samples/langchain/sql-agent.ts (+74 -5)
📝 src/oss/langchain/sql-agent.mdx (+47 -0)
📝 src/snippets/code-samples/evaluate-rag-dataset-js.mdx (+0 -3)
📝 src/snippets/code-samples/evaluate-rag-reference-js.mdx (+1 -3)
📝 src/snippets/code-samples/sql-agent-create-agent-js.mdx (+7 -7)
src/snippets/code-samples/sql-agent-hitl-middleware-js.mdx (+155 -0)
src/snippets/code-samples/sql-agent-hitl-resume-js.mdx (+21 -0)
src/snippets/code-samples/sql-agent-hitl-run-js.mdx (+24 -0)
📝 src/snippets/code-samples/sql-agent-run-agent-js.mdx (+4 -4)

📄 Description

Overview

Fixes the documentation issue in Build a SQL agent documentation

Type of change

In Build a SQL agent documentation, on typescript language selection the example under the 6. Implement human-in-the-loop review was still showing in python language. This PR fixes the issue and changes it to typescript safely.

fixes #2566


🔄 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/2665 **Author:** [@ashutoshray-dev](https://github.com/ashutoshray-dev) **Created:** 2/15/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@npentrel](https://github.com/npentrel) **Base:** `main` ← **Head:** `preview-fix-pythonexample-to-typescript` --- ### 📝 Commits (2) - [`a06a927`](https://github.com/langchain-ai/docs/commit/a06a927736765248cde2c977699c6771f79d882b) fix: Fixed example issue in the SQL agent doc from python to typescript - [`941ab4a`](https://github.com/langchain-ai/docs/commit/941ab4a69c2c13c99af486fde171217a9bac047c) update snippets after testing ### 📊 Changes **9 files changed** (+333 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `src/code-samples/langchain/sql-agent.ts` (+74 -5) 📝 `src/oss/langchain/sql-agent.mdx` (+47 -0) 📝 `src/snippets/code-samples/evaluate-rag-dataset-js.mdx` (+0 -3) 📝 `src/snippets/code-samples/evaluate-rag-reference-js.mdx` (+1 -3) 📝 `src/snippets/code-samples/sql-agent-create-agent-js.mdx` (+7 -7) ➕ `src/snippets/code-samples/sql-agent-hitl-middleware-js.mdx` (+155 -0) ➕ `src/snippets/code-samples/sql-agent-hitl-resume-js.mdx` (+21 -0) ➕ `src/snippets/code-samples/sql-agent-hitl-run-js.mdx` (+24 -0) 📝 `src/snippets/code-samples/sql-agent-run-agent-js.mdx` (+4 -4) </details> ### 📄 Description ## Overview Fixes the documentation issue in `Build a SQL agent` documentation ## Type of change In `Build a SQL agent` documentation, on typescript language selection the example under the `6. Implement human-in-the-loop review` was still showing in python language. This PR fixes the issue and changes it to typescript safely. fixes #2566 --- <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-02-17 17:23:38 -05:00
yindo changed title from [PR #2665] fix: Fixed example issue in the SQL agent doc from python to typescript to [PR #2665] [MERGED] fix: Fixed example issue in the SQL agent doc from python to typescript 2026-06-05 18:19:48 -04:00
yindo closed this issue 2026-06-05 18:19:49 -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#2647