Skip to content

Remove deprecations in JdbcChatMemory#3002

Closed
ThomasVitale wants to merge 1 commit intospring-projects:mainfrom
ThomasVitale:deprecated-jdbc-memory
Closed

Remove deprecations in JdbcChatMemory#3002
ThomasVitale wants to merge 1 commit intospring-projects:mainfrom
ThomasVitale:deprecated-jdbc-memory

Conversation

@ThomasVitale
Copy link
Copy Markdown
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 <ThomasVitale@users.noreply.github.com>
@ThomasVitale ThomasVitale marked this pull request as ready for review May 5, 2025 20:36
public final class MessageWindowChatMemory implements ChatMemory {

private static final int DEFAULT_MAX_MESSAGES = 200;
private static final int DEFAULT_MAX_MESSAGES = 20;
Copy link
Copy Markdown
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
Copy Markdown
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