[PR #2474] [MERGED] docs: replace deprecated initialize_agent in NASA integration example #2461

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2474
Author: @tar-ang-2004
Created: 2/4/2026
Status: Merged
Merged: 2/5/2026
Merged by: @mdrxy

Base: mainHead: fix-initialize-agent-docs


📝 Commits (3)

  • 3415d0f docs: replace deprecated initialize_agent with create_react_agent in NASA integration example
  • 18e6de8 fix docs example to match langgraph agent invocation format
  • 7745b7a address review: migrate NASA example to create_agent API

📊 Changes

1 file changed (+14 additions, -10 deletions)

View changed files

📝 src/oss/python/integrations/tools/nasa.mdx (+14 -10)

📄 Description

Fixes #2473

Replaced deprecated initialize_agent with create_agent
in NASA integration documentation example.

This aligns the docs with the current recommended API.


🔄 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/2474 **Author:** [@tar-ang-2004](https://github.com/tar-ang-2004) **Created:** 2/4/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `fix-initialize-agent-docs` --- ### 📝 Commits (3) - [`3415d0f`](https://github.com/langchain-ai/docs/commit/3415d0f43d49a138d85276a333b39c00ef231879) docs: replace deprecated initialize_agent with create_react_agent in NASA integration example - [`18e6de8`](https://github.com/langchain-ai/docs/commit/18e6de8cd76ae773342ba5af46cde7226786a7e5) fix docs example to match langgraph agent invocation format - [`7745b7a`](https://github.com/langchain-ai/docs/commit/7745b7a53b5b7efda00ffb47988c3b89d72bd9bb) address review: migrate NASA example to create_agent API ### 📊 Changes **1 file changed** (+14 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/tools/nasa.mdx` (+14 -10) </details> ### 📄 Description Fixes #2473 Replaced deprecated initialize_agent with create_agent in NASA integration documentation example. This aligns the docs with the current recommended API. --- <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:26 -05:00
yindo closed this issue 2026-02-17 17:23:26 -05:00
yindo changed title from [PR #2474] docs: replace deprecated initialize_agent in NASA integration example to [PR #2474] [MERGED] docs: replace deprecated initialize_agent in NASA integration example 2026-06-05 18:18:43 -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#2461