Mateo/dev 141 update langchain quickstart python#720
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
| from pydantic import BaseModel, Field, create_model | ||
| ``` | ||
|
|
||
| This is quite a number of imports, let's break them down: |
There was a problem hiding this comment.
write-good.Weasel: Remove weasel word 'quite' and avoid first-person plural 'let's'
| This is quite a number of imports, let's break them down: | |
| This is a substantial number of imports, here's how they break down: |
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Outdated
Show resolved
Hide resolved
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py/page.mdx
Show resolved
Hide resolved
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| // Handle all interrupts | ||
| const decisions: any[] = []; | ||
| for (const interrupt of interrupts) { | ||
| decisions.push(await handleAuthInterrupt(interrupt, rl)); |
There was a problem hiding this comment.
TypeScript handleAuthInterrupt called with extra argument
Medium Severity
handleAuthInterrupt is defined with a single parameter (interrupt: Interrupt), but is called with two arguments (interrupt, rl) in both the step-by-step and full example code. TypeScript will flag this as a compilation error. Either the function signature needs the rl parameter or the call sites need to drop it.


Preview link: https://docs-git-mateo-dev-141-update-langchain-quicks-7f4cdb-arcade-ai.vercel.app/en/get-started/agent-frameworks/langchain/use-arcade-with-langchain-py
This PR adds a Python version of the LangChain tutorial that features
all without relying on the old
langchain-arcadepackageNote
Low Risk
Documentation-only additions plus URL redirect changes; main risk is broken/incorrect redirects or links if paths are mistyped.
Overview
Adds a new LangChain Python “Setup Arcade with LangChain” guide (
use-arcade-with-langchain-py) that shows converting Arcade tool schemas into LangChain tools and handling authorization via LangGraph interrupts, plus publishes the corresponding generated markdown.Updates LangChain docs navigation to split the previous single page into
-pyand-tsentries, and refreshes cross-links (e.g., fromauth-langchain-toolsand Google ADK docs) to point at the new pages.Reworks Next.js redirects so all legacy LangChain “use-arcade-tools” / “user-auth-interrupts” / old “use-arcade-with-langchain” routes permanently redirect to
use-arcade-with-langchain-py, and regeneratespublic/llms.txtmetadata.Written by Cursor Bugbot for commit a99e115. This will update automatically on new commits. Configure here.