[PR #3395] [MERGED] docs: add OpenRouter to chat model setup tabs #3449

Closed
opened 2026-06-05 18:23:08 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3395
Author: @shaunz-block
Created: 3/31/2026
Status: Merged
Merged: 4/7/2026
Merged by: @mdrxy

Base: mainHead: add-openrouter-chat-model-tab


📝 Commits (5)

  • f92ea4a docs: add OpenRouter to chat model setup tabs
  • 734c6f5 Merge branch 'main' into add-openrouter-chat-model-tab
  • 2e4244c Merge branch 'main' into add-openrouter-chat-model-tab
  • ef9bd7d Merge branch 'main' into add-openrouter-chat-model-tab
  • 3d6402e Merge branch 'main' into add-openrouter-chat-model-tab

📊 Changes

1 file changed (+29 additions, -0 deletions)

View changed files

📝 src/snippets/chat-model-tabs.mdx (+29 -0)

📄 Description

Summary

  • Add OpenRouter as a chat model provider option in the shared chat-model-tabs.mdx snippet
  • This snippet is used across multiple tutorial pages (RAG, etc.) to show setup instructions for different chat model providers
  • Includes both init_chat_model and direct ChatOpenRouter class usage examples

Why

OpenRouter is a supported LangChain integration (langchain-openrouter) with an existing integration docs page, but it was missing from the chat model setup tabs shown in tutorials.

Test plan

  • All 134 unit tests pass (make test)
  • Verify the new tab renders correctly in the dev server
  • Confirm the integration docs link resolves

🤖 Generated with Claude Code


🔄 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/3395 **Author:** [@shaunz-block](https://github.com/shaunz-block) **Created:** 3/31/2026 **Status:** ✅ Merged **Merged:** 4/7/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `add-openrouter-chat-model-tab` --- ### 📝 Commits (5) - [`f92ea4a`](https://github.com/langchain-ai/docs/commit/f92ea4a7d1ee3328260329bc08162e4a30aef289) docs: add OpenRouter to chat model setup tabs - [`734c6f5`](https://github.com/langchain-ai/docs/commit/734c6f5d7756f95171505de75dc842f697d710b6) Merge branch 'main' into add-openrouter-chat-model-tab - [`2e4244c`](https://github.com/langchain-ai/docs/commit/2e4244c27fd82bf238091877925f85d167e2c121) Merge branch 'main' into add-openrouter-chat-model-tab - [`ef9bd7d`](https://github.com/langchain-ai/docs/commit/ef9bd7d421309ef3122613b6f52c8d31a2e3953a) Merge branch 'main' into add-openrouter-chat-model-tab - [`3d6402e`](https://github.com/langchain-ai/docs/commit/3d6402e35d6529448ca5d98053d056742386ac6b) Merge branch 'main' into add-openrouter-chat-model-tab ### 📊 Changes **1 file changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/snippets/chat-model-tabs.mdx` (+29 -0) </details> ### 📄 Description ## Summary - Add OpenRouter as a chat model provider option in the shared `chat-model-tabs.mdx` snippet - This snippet is used across multiple tutorial pages (RAG, etc.) to show setup instructions for different chat model providers - Includes both `init_chat_model` and direct `ChatOpenRouter` class usage examples ## Why OpenRouter is a supported LangChain integration (`langchain-openrouter`) with an existing [integration docs page](/oss/python/integrations/chat/openrouter/), but it was missing from the chat model setup tabs shown in tutorials. ## Test plan - [x] All 134 unit tests pass (`make test`) - [x] Verify the new tab renders correctly in the dev server - [x] Confirm the integration docs link resolves 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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-06-05 18:23:08 -04:00
yindo closed this issue 2026-06-05 18:23:09 -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#3449