[GH-ISSUE #3630] Broken link to create_agent in deprecation warning #2745

Closed
opened 2026-06-05 17:26:36 -04:00 by yindo · 1 comment
Owner

Originally created by @maanas1234 on GitHub (Apr 18, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/3630

Type of issue

other

Language

Python

Description

The documentation for create_react_agent mentions create_agent as the replacement, but links to:
[langchain.agents.create_agent](https://reference.langchain.com/python/langchain/agents/create_agent)

This leads to a "Symbol Not Found" page.

The correct path appears to be:
[langchain.agents.factory.create_agent](https://reference.langchain.com/python/langchain/agents/factory/create_agent)

Suggest updating the reference link to point to the correct location.

Originally created by @maanas1234 on GitHub (Apr 18, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/3630 ### Type of issue other ### Language Python ### Description The documentation for `create_react_agent` mentions `create_agent` as the replacement, but links to: `[langchain.agents.create_agent](https://reference.langchain.com/python/langchain/agents/create_agent)` This leads to a "Symbol Not Found" page. The correct path appears to be: `[langchain.agents.factory.create_agent`](https://reference.langchain.com/python/langchain/agents/factory/create_agent) Suggest updating the reference link to point to the correct location.
yindo added the langgraphexternal labels 2026-06-05 17:26:36 -04:00
yindo closed this issue 2026-06-05 17:26:36 -04:00
Author
Owner

@monikagotnochills commented on GitHub (May 5, 2026):

Thanks for raising this.
The issue was caused by incorrect display text in the MDX link:
@[langchain.agents.create_agent][create_agent]

This suggested an invalid path (/agents/create_agent), which leads to the "Symbol Not Found" page.

I’ve updated it to: @[create_agent]

This uses the shorthand reference that resolves correctly via link_map.py to: langchain.agents.factory.create_agent

Also this pattern is already used elsewhere in the same file (lines 21, 37, 38, 42)
So the fix keeps the documentation consistent.

<!-- gh-comment-id:4376783329 --> @monikagotnochills commented on GitHub (May 5, 2026): Thanks for raising this. The issue was caused by incorrect display text in the MDX link: @[`langchain.agents.create_agent`][create_agent] This suggested an invalid path (/agents/create_agent), which leads to the "Symbol Not Found" page. I’ve updated it to: @[`create_agent`] This uses the shorthand reference that resolves correctly via link_map.py to: langchain.agents.factory.create_agent Also this pattern is already used elsewhere in the same file (lines 21, 37, 38, 42) So the fix keeps the documentation consistent.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2745