Skip to content

Remove deprecations in JdbcChatMemory #3002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

ThomasVitale
Copy link
Contributor

  • Remove deprecated APIs for JdbcChatMemory.
  • Improve documentation about chat memory vs. chat history.
  • Fix mismatch between docs vs code for max messages in MessageWindowChatMemory.

* Remove deprecated APIs for JdbcChatMemory.
* Improve documentation about chat memory vs. chat history.
* Fix mismatch between docs vs code for max messages in MessageWindowChatMemory.

Signed-off-by: Thomas Vitale <[email protected]>
@ThomasVitale ThomasVitale marked this pull request as ready for review May 5, 2025 20:36
@@ -40,7 +40,7 @@
*/
public final class MessageWindowChatMemory implements ChatMemory {

private static final int DEFAULT_MAX_MESSAGES = 200;
private static final int DEFAULT_MAX_MESSAGES = 20;
Copy link
Member

@markpollack markpollack May 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasVitale how did you come up with 20 as a heuristic BTW?

@markpollack
Copy link
Member

markpollack commented May 6, 2025

merged in 356a68f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants