[PR #1993] [CLOSED] Update messages.mdx for langchain.messages to langchain_core.messages #2043

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1993
Author: @kiran1415
Created: 12/19/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 0f45aa9 Update messages.mdx for langchain.messages to langchain_core.messages

📊 Changes

1 file changed (+12 additions, -12 deletions)

View changed files

📝 src/oss/langchain/messages.mdx (+12 -12)

📄 Description

updated python code snippet
from langchain.messages to langchain_core.messages

Overview

updated the python snipped in langchain message module
fixed the import

from langchain.messages import AIMessage

to

from langchain_core.messages import AIMessage

Type of change

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

Update existing documentation

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/1993 **Author:** [@kiran1415](https://github.com/kiran1415) **Created:** 12/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`0f45aa9`](https://github.com/langchain-ai/docs/commit/0f45aa9c5302352931a18427db5c369787d1afec) Update messages.mdx for langchain.messages to langchain_core.messages ### 📊 Changes **1 file changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langchain/messages.mdx` (+12 -12) </details> ### 📄 Description updated python code snippet from langchain.messages to langchain_core.messages ## Overview <!-- Brief description of what documentation is being added/updated --> updated the python snipped in langchain message module fixed the import from langchain.messages import AIMessage to from langchain_core.messages import AIMessage ## Type of change **Type:** [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other] Update existing documentation ## 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 --> - [ ] I have read the [contributing guidelines](README.md) - [ ] 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](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:23:00 -05:00
yindo closed this issue 2026-02-17 17:23:00 -05:00
yindo changed title from [PR #1993] Update messages.mdx for langchain.messages to langchain_core.messages to [PR #1993] [CLOSED] Update messages.mdx for langchain.messages to langchain_core.messages 2026-06-05 18:16:20 -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#2043