Examples not actually restored after #6682 #1120

Closed
opened 2026-02-20 17:43:09 -05:00 by yindo · 3 comments
Owner

Originally created by @chenIshi on GitHub (Jan 15, 2026).

Checked other resources

  • This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
  • I added a clear and detailed title that summarizes the issue.
  • I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
  • I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.

Example Code

from pathlib import Path

p = Path("examples/lats/lats.ipynb")
print(p.exists(), p.stat().st_size)

Error Message and Stack Trace (if applicable)


Description

After the recent commit #6682, which aims to restore previously removed examples, it appears that many of the examples (e.g., lats.ipynb) are not actually restored in a functional sense.
Specifically, most of the “restored” examples are implemented as pointers (links/references) to locations that existed before the refactoring, but those target locations no longer exist. As a result, while the example entries themselves are present, they still resolve to missing or invalid paths and cannot be run or referenced correctly.
In other words, the examples are restored structurally, but not semantically or operationally—they remain broken due to stale references introduced during the refactor.
It would be helpful to clarify whether:

  • These examples are expected to be updated to the new post-refactor structure, or
  • The referenced locations are intended to be reintroduced elsewhere.

Happy to help verify or PR fixes once the intended direction is clear.

System Info

System Information

OS: Linux
OS Version: #148-Ubuntu SMP Fri Mar 14 19:05:48 UTC 2025
Python Version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]

Package Information

langchain_core: 1.2.4
langchain: 1.2.0
langchain_community: 0.4.1
langsmith: 0.5.0
langchain_classic: 1.0.0
langchain_google_vertexai: 3.2.0
langchain_openai: 1.1.6
langchain_text_splitters: 1.1.0
langgraph_sdk: 0.3.1

Optional packages not installed

langserve

Other Dependencies

aiohttp: 3.13.2
anthropic: 0.73.0
async-timeout: 4.0.3
bottleneck: 1.6.0
dataclasses-json: 0.6.7
google-cloud-aiplatform: 1.132.0
google-cloud-storage: 3.7.0
httpx: 0.28.1
httpx-sse: 0.4.3
jsonpatch: 1.33
langgraph: 1.0.5
numexpr: 2.14.1
numpy: 2.2.6
openai: 2.8.0
opentelemetry-api: 1.38.0
opentelemetry-exporter-otlp-proto-http: 1.38.0
opentelemetry-sdk: 1.38.0
orjson: 3.11.5
packaging: 25.0
pyarrow: 22.0.0
pydantic: 2.12.4
pydantic-settings: 2.12.0
pytest: 9.0.1
pyyaml: 6.0.3
PyYAML: 6.0.3
requests: 2.32.5
requests-toolbelt: 1.0.0
rich: 14.2.0
SQLAlchemy: 2.0.45
sqlalchemy: 2.0.45
tenacity: 9.1.2
tiktoken: 0.12.0
typing-extensions: 4.15.0
uuid-utils: 0.12.0
validators: 0.35.0
zstandard: 0.25.0

Originally created by @chenIshi on GitHub (Jan 15, 2026). ### Checked other resources - [x] This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/). - [x] I added a clear and detailed title that summarizes the issue. - [x] I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example). - [x] I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue. ### Example Code ```python from pathlib import Path p = Path("examples/lats/lats.ipynb") print(p.exists(), p.stat().st_size) ``` ### Error Message and Stack Trace (if applicable) ```shell ``` ### Description After the recent commit #6682, which aims to restore previously removed examples, it appears that many of the examples (e.g., [lats.ipynb](blob/main/examples/lats/lats.ipynb)) are not actually restored in a functional sense. Specifically, most of the “restored” examples are implemented as pointers (links/references) to locations that existed before the refactoring, but those target locations no longer exist. As a result, while the example entries themselves are present, they still resolve to missing or invalid paths and cannot be run or referenced correctly. In other words, the examples are restored structurally, but not semantically or operationally—they remain broken due to stale references introduced during the refactor. It would be helpful to clarify whether: - These examples are expected to be updated to the new post-refactor structure, or - The referenced locations are intended to be reintroduced elsewhere. Happy to help verify or PR fixes once the intended direction is clear. ### System Info System Information ------------------ > OS: Linux > OS Version: #148-Ubuntu SMP Fri Mar 14 19:05:48 UTC 2025 > Python Version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] Package Information ------------------- > langchain_core: 1.2.4 > langchain: 1.2.0 > langchain_community: 0.4.1 > langsmith: 0.5.0 > langchain_classic: 1.0.0 > langchain_google_vertexai: 3.2.0 > langchain_openai: 1.1.6 > langchain_text_splitters: 1.1.0 > langgraph_sdk: 0.3.1 Optional packages not installed ------------------------------- > langserve Other Dependencies ------------------ > aiohttp: 3.13.2 > anthropic: 0.73.0 > async-timeout: 4.0.3 > bottleneck: 1.6.0 > dataclasses-json: 0.6.7 > google-cloud-aiplatform: 1.132.0 > google-cloud-storage: 3.7.0 > httpx: 0.28.1 > httpx-sse: 0.4.3 > jsonpatch: 1.33 > langgraph: 1.0.5 > numexpr: 2.14.1 > numpy: 2.2.6 > openai: 2.8.0 > opentelemetry-api: 1.38.0 > opentelemetry-exporter-otlp-proto-http: 1.38.0 > opentelemetry-sdk: 1.38.0 > orjson: 3.11.5 > packaging: 25.0 > pyarrow: 22.0.0 > pydantic: 2.12.4 > pydantic-settings: 2.12.0 > pytest: 9.0.1 > pyyaml: 6.0.3 > PyYAML: 6.0.3 > requests: 2.32.5 > requests-toolbelt: 1.0.0 > rich: 14.2.0 > SQLAlchemy: 2.0.45 > sqlalchemy: 2.0.45 > tenacity: 9.1.2 > tiktoken: 0.12.0 > typing-extensions: 4.15.0 > uuid-utils: 0.12.0 > validators: 0.35.0 > zstandard: 0.25.0
yindo added the bugpending labels 2026-02-20 17:43:09 -05:00
yindo closed this issue 2026-02-20 17:43:09 -05:00
Author
Owner

@drajamanik commented on GitHub (Jan 21, 2026):

I do face the same issue

Am trying to access the example python files. Am getting file moved, once I click that am getting 404 error.
Example:
This file has been moved to https://github.com/langchain-ai/langgraph/blob/main/docs/docs/how-tos/tool-calling.ipynb

404 - page not found
The main branch of langgraph does not contain the path docs/docs/how-tos/tool-calling.ipynb. 
@drajamanik commented on GitHub (Jan 21, 2026): I do face the same issue Am trying to access the example python files. Am getting file moved, once I click that am getting 404 error. Example: This file has been moved to https://github.com/langchain-ai/langgraph/blob/main/docs/docs/how-tos/tool-calling.ipynb 404 - page not found The main branch of langgraph does not contain the path docs/docs/how-tos/tool-calling.ipynb.
Author
Owner

@song2du commented on GitHub (Jan 23, 2026):

I'm working on this! will submit a PR shortly

@song2du commented on GitHub (Jan 23, 2026): I'm working on this! will submit a PR shortly
Author
Owner

@song2du commented on GitHub (Jan 23, 2026):

Update:
I closed my PR because the maintainers advised that these examples are planned for removal or consolidation into docs.langchain.com.
It seems no further fixes are needed here.

@song2du commented on GitHub (Jan 23, 2026): Update: I closed my PR because the maintainers advised that these examples are planned for removal or consolidation into docs.langchain.com. It seems no further fixes are needed here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1120