From 728368d97d0ea42a8c9bf45b2803aab7701f38e0 Mon Sep 17 00:00:00 2001 From: Brendan Whiting Date: Tue, 25 Nov 2025 10:29:44 -0800 Subject: [PATCH] fix toolruntime import --- src/oss/langchain/quickstart.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oss/langchain/quickstart.mdx b/src/oss/langchain/quickstart.mdx index 5a7cf3bce3..13f0ccd90d 100644 --- a/src/oss/langchain/quickstart.mdx +++ b/src/oss/langchain/quickstart.mdx @@ -482,8 +482,8 @@ print(response['structured_response']) :::js ```ts -import { createAgent, tool, initChatModel } from "langchain"; -import { MemorySaver, type Runtime } from "@langchain/langgraph"; +import { createAgent, tool, initChatModel, type ToolRuntime } from "langchain"; +import { MemorySaver } from "@langchain/langgraph"; import * as z from "zod"; // Define system prompt