[GH-ISSUE #1646] ConversationSummaryMemory documentation unavailable + import module unclear (LangChain 1.x) #219

Closed
opened 2026-02-17 17:19:25 -05:00 by yindo · 4 comments
Owner

Originally created by @Ayaan9421 on GitHub (Nov 27, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/1646

Type of issue

issue / bug

Language

Python

Description

Issue Summary

I am trying to use ConversationSummaryMemory in LangChain, but the documentation link appears to be broken and the import path shown in tutorials does not work with the latest versions.

What I Tried

Using this import results in:

from langchain.memory import ConversationSummaryMemory

Error:

Import "langchain.memory" could not be resolved

I also tried:

from langchain_community.memory import ConversationSummaryMemory

but I couldn't find any official documentation confirming this change.

Image

Broken Documentation Link
When I search Google and follow links (example):

https://api.python.langchain.com/en/latest/langchain/memory/langchain.memory.summary.ConversationSummaryMemory.html

I get this browser error:

ERR_SSL_VERSION_OR_CIPHER_MISMATCH
"This site can’t provide a secure connection"
Image

My Installed Versions

langchain 1.1.0
langchain-anthropic 1.2.0
langchain-classic 1.0.0
langchain-community 0.4.1
langchain-core 1.1.0
langchain-google-genai 3.2.0
langchain-huggingface 1.1.0
langchain-openai 1.1.0
langchain-text-splitters 1.0.0
langgraph 1.0.4
langgraph-checkpoint 3.0.1
langgraph-prebuilt 1.0.5
langgraph-sdk 0.2.10
langsmith 0.4.48

Expected Behavior
Working documentation link
Correct import path clarification for LangChain 1.x
Updated examples since most YouTube tutorials still use old syntax

Environment
OS: Windows
Python: 3.12
Browser: Chrome (latest)

Additional Notes
A maintainer saw my Reddit post and asked me to create this issue.🙂
Link to that post: https://www.reddit.com/r/LangChain/comments/1p7x3qb/cant_find_documentation_for/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Originally created by @Ayaan9421 on GitHub (Nov 27, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/1646 ### Type of issue issue / bug ### Language Python ### Description ### Issue Summary I am trying to use `ConversationSummaryMemory` in LangChain, but the documentation link appears to be broken and the import path shown in tutorials does not work with the latest versions. ### What I Tried Using this import results in: ```python from langchain.memory import ConversationSummaryMemory ``` Error: ``` Import "langchain.memory" could not be resolved ``` I also tried: ```python from langchain_community.memory import ConversationSummaryMemory ``` but I couldn't find any official documentation confirming this change. <img width="1185" height="40" alt="Image" src="https://github.com/user-attachments/assets/bb0cceb6-e36a-4685-a0a8-e8f8b12f4154" /> Broken Documentation Link When I search Google and follow links (example): ``` https://api.python.langchain.com/en/latest/langchain/memory/langchain.memory.summary.ConversationSummaryMemory.html ``` I get this browser error: ``` ERR_SSL_VERSION_OR_CIPHER_MISMATCH "This site can’t provide a secure connection" ``` <img width="1208" height="536" alt="Image" src="https://github.com/user-attachments/assets/433aa0fd-1061-4d15-ad08-6d617e2a3628" /> My Installed Versions ``` langchain 1.1.0 langchain-anthropic 1.2.0 langchain-classic 1.0.0 langchain-community 0.4.1 langchain-core 1.1.0 langchain-google-genai 3.2.0 langchain-huggingface 1.1.0 langchain-openai 1.1.0 langchain-text-splitters 1.0.0 langgraph 1.0.4 langgraph-checkpoint 3.0.1 langgraph-prebuilt 1.0.5 langgraph-sdk 0.2.10 langsmith 0.4.48 ``` Expected Behavior Working documentation link Correct import path clarification for LangChain 1.x Updated examples since most YouTube tutorials still use old syntax Environment OS: Windows Python: 3.12 Browser: Chrome (latest) Additional Notes A maintainer saw my Reddit post and asked me to create this issue.🙂 Link to that post: https://www.reddit.com/r/LangChain/comments/1p7x3qb/cant_find_documentation_for/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
yindo added the langchain label 2026-02-17 17:19:25 -05:00
yindo closed this issue 2026-02-17 17:19:25 -05:00
Author
Owner

@gardner commented on GitHub (Nov 29, 2025):

openssl

$ openssl s_client -connect api.python.langchain.com:443
Connecting to 104.16.254.120
CONNECTED(00000006)
00A2070502000000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:916:SSL alert number 40
---
no peer certificate available
---
No client certificate CA names sent
Negotiated TLS1.3 group: <NULL>
---
SSL handshake has read 7 bytes and written 1555 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Protocol: TLSv1.3
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
00A2070502000000:error:0A000197:SSL routines:SSL_shutdown:shutdown while in init:ssl/ssl_lib.c:2834:

curl

$ curl -vvv https://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html
* Host api.python.langchain.com:443 was resolved.
* IPv6: (none)
* IPv4: 104.16.254.120, 104.16.253.120
*   Trying 104.16.254.120:443...
* Connected to api.python.langchain.com (104.16.254.120) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure
* Closing connection
curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure

curl -k

$ curl -vvLk http://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html
* Host api.python.langchain.com:80 was resolved.
* IPv6: (none)
* IPv4: 104.16.254.120, 104.16.253.120
*   Trying 104.16.254.120:80...
* Connected to api.python.langchain.com (104.16.254.120) port 80
> GET /en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html HTTP/1.1
> Host: api.python.langchain.com
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 409 Conflict
< Date: Sun, 30 Nov 2025 04:08:43 GMT
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 16
< Connection: close
< X-Frame-Options: SAMEORIGIN
< Referrer-Policy: same-origin
< Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
< Server: cloudflare
< CF-RAY: 9a677c36db0bd9b8-AKL
< 
* Closing connection
@gardner commented on GitHub (Nov 29, 2025): ### openssl ```bash $ openssl s_client -connect api.python.langchain.com:443 Connecting to 104.16.254.120 CONNECTED(00000006) 00A2070502000000:error:0A000410:SSL routines:ssl3_read_bytes:ssl/tls alert handshake failure:ssl/record/rec_layer_s3.c:916:SSL alert number 40 --- no peer certificate available --- No client certificate CA names sent Negotiated TLS1.3 group: <NULL> --- SSL handshake has read 7 bytes and written 1555 bytes Verification: OK --- New, (NONE), Cipher is (NONE) Protocol: TLSv1.3 This TLS version forbids renegotiation. Compression: NONE Expansion: NONE No ALPN negotiated Early data was not sent Verify return code: 0 (ok) --- 00A2070502000000:error:0A000197:SSL routines:SSL_shutdown:shutdown while in init:ssl/ssl_lib.c:2834: ``` ### curl ```bash $ curl -vvv https://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html * Host api.python.langchain.com:443 was resolved. * IPv6: (none) * IPv4: 104.16.254.120, 104.16.253.120 * Trying 104.16.254.120:443... * Connected to api.python.langchain.com (104.16.254.120) port 443 * ALPN: curl offers h2,http/1.1 * (304) (OUT), TLS handshake, Client hello (1): * CAfile: /etc/ssl/cert.pem * CApath: none * LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure * Closing connection curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure ``` ### curl -k ```bash $ curl -vvLk http://api.python.langchain.com/en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html * Host api.python.langchain.com:80 was resolved. * IPv6: (none) * IPv4: 104.16.254.120, 104.16.253.120 * Trying 104.16.254.120:80... * Connected to api.python.langchain.com (104.16.254.120) port 80 > GET /en/latest/core/prompts/langchain_core.prompts.prompt.PromptTemplate.html HTTP/1.1 > Host: api.python.langchain.com > User-Agent: curl/8.7.1 > Accept: */* > * Request completely sent off < HTTP/1.1 409 Conflict < Date: Sun, 30 Nov 2025 04:08:43 GMT < Content-Type: text/plain; charset=UTF-8 < Content-Length: 16 < Connection: close < X-Frame-Options: SAMEORIGIN < Referrer-Policy: same-origin < Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Expires: Thu, 01 Jan 1970 00:00:01 GMT < Server: cloudflare < CF-RAY: 9a677c36db0bd9b8-AKL < * Closing connection ```
Author
Owner

@mdrxy commented on GitHub (Nov 30, 2025):

ConversationSummaryMemory has been moved to langchain-classic along with other memory imports; see the migration guide https://docs.langchain.com/oss/python/migrate/langchain-v1#simplified-package

We are working to add memory to the new API reference: https://reference.langchain.com/python/langchain_classic/memory/

@mdrxy commented on GitHub (Nov 30, 2025): `ConversationSummaryMemory` has been moved to `langchain-classic` along with other memory imports; see the migration guide https://docs.langchain.com/oss/python/migrate/langchain-v1#simplified-package We are working to add memory to the new API reference: https://reference.langchain.com/python/langchain_classic/memory/
Author
Owner

@gardner commented on GitHub (Nov 30, 2025):

Are there any plans to put a 301 Redirect in place for all the indexed search results that point to api.python.langchain.com?

Image

@gardner commented on GitHub (Nov 30, 2025): Are there any plans to put a `301 Redirect` in place for all the indexed [search results](https://duckduckgo.com/?q=langchain+PromptTemplate&ia=web) that point to `api.python.langchain.com`? ![Image](https://github.com/user-attachments/assets/59f2a048-fa45-4234-b13a-f62ba5f9c962)
Author
Owner

@mdrxy commented on GitHub (Dec 2, 2025):

Working on redirects!

Here's that page: https://reference.langchain.com/python/langchain_core/prompts/

@mdrxy commented on GitHub (Dec 2, 2025): Working on redirects! Here's that page: https://reference.langchain.com/python/langchain_core/prompts/
yindo changed title from ConversationSummaryMemory documentation unavailable + import module unclear (LangChain 1.x) to [GH-ISSUE #1646] ConversationSummaryMemory documentation unavailable + import module unclear (LangChain 1.x) 2026-06-05 17:25: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#219