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]) });