[PR #1476] [MERGED] fix(docs): update the output_format in quickstart #1600

Closed
opened 2026-02-17 17:22:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1476
Author: @micaiguai
Created: 11/18/2025
Status: Merged
Merged: 11/18/2025
Merged by: @lnhsingh

Base: mainHead: docs/quickstart


📝 Commits (1)

  • 5d2e979 fix(docs): update the output_format in quickstart

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 src/oss/langchain/quickstart.mdx (+3 -2)

📄 Description

Overview

Due to the Tip mentioned in the LangChain doc.

image

I updated the output_format in quickstart example. When testing locally with Ollama, the ToolStrategy works, but the ProviderStrategy does not.

It's seems like that Ollama does not support strict. So I think using ToolStrategy is more stable.

Type of change

Type: [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes


🔄 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/1476 **Author:** [@micaiguai](https://github.com/micaiguai) **Created:** 11/18/2025 **Status:** ✅ Merged **Merged:** 11/18/2025 **Merged by:** [@lnhsingh](https://github.com/lnhsingh) **Base:** `main` ← **Head:** `docs/quickstart` --- ### 📝 Commits (1) - [`5d2e979`](https://github.com/langchain-ai/docs/commit/5d2e979aa0b19c5fc09f1e37ad87a20c9b1f8cdd) fix(docs): update the output_format in quickstart ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/quickstart.mdx` (+3 -2) </details> ### 📄 Description ## Overview <!-- Brief description of what documentation is being added/updated --> Due to the [Tip](https://docs.langchain.com/oss/python/langchain/agents#structured-output) mentioned in the LangChain doc. <img width="1348" height="166" alt="image" src="https://github.com/user-attachments/assets/1b0fd336-857e-43d8-9517-a9bd50f6fe47" /> I updated the `output_format` in quickstart example. When testing locally with Ollama, the `ToolStrategy` works, but the `ProviderStrategy` does not. It's seems like that Ollama does not support `strict`. So I think using `ToolStrategy` is more stable. ## Type of change **Type:** [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other] ## Related issues/PRs <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md) - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed (Internal team members only / optional): Create a preview deployment as necessary using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes <!-- Any other information that would be helpful for reviewers --> --- <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:22:31 -05:00
yindo closed this issue 2026-02-17 17:22:31 -05:00
yindo changed title from [PR #1476] fix(docs): update the output_format in quickstart to [PR #1476] [MERGED] fix(docs): update the output_format in quickstart 2026-06-05 18:13:52 -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#1600