From 1cf50c739bfb2502a16ad5066a9e5876c1019065 Mon Sep 17 00:00:00 2001 From: Gavin Wang Date: Tue, 11 Nov 2025 00:58:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(docs):=20correct=20typos=20=E2=80=94=20'too?= =?UTF-8?q?ls'is=20undefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/oss/langchain/structured-output.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/oss/langchain/structured-output.mdx b/src/oss/langchain/structured-output.mdx index b471f74bc1..e9178ae5d3 100644 --- a/src/oss/langchain/structured-output.mdx +++ b/src/oss/langchain/structured-output.mdx @@ -227,7 +227,7 @@ LangChain automatically uses `ProviderStrategy` when you pass a schema type dire const agent = createAgent({ model: "gpt-5", - tools: tools, + tools: [], responseFormat: providerStrategy(ContactInfo) }); @@ -255,7 +255,7 @@ LangChain automatically uses `ProviderStrategy` when you pass a schema type dire const agent = createAgent({ model: "gpt-5", - tools: tools, + tools: [], responseFormat: providerStrategy(contactInfoSchema) }); @@ -582,7 +582,7 @@ function toolStrategy( const agent = createAgent({ model: "gpt-5", - tools: tools, + tools: [], responseFormat: toolStrategy(ProductReview) }) @@ -623,7 +623,7 @@ function toolStrategy( const agent = createAgent({ model: "gpt-5", - tools: tools, + tools: [], responseFormat: toolStrategy(productReviewSchema) }); @@ -653,7 +653,7 @@ function toolStrategy( const agent = createAgent({ model: "gpt-5", - tools: tools, + tools: [], responseFormat: toolStrategy([ProductReview, CustomerComplaint]) });