Skip to content

ReproFix

  • About
  • Privacy Policy
  • Contact

DEFAULT_CONVERSATION_ID

Fix Spring AI 2.0 conversationId cannot be null in chat memory

November 2, 2026November 2, 2026 by ReproFix
Fix Spring AI 2.0 conversationId cannot be null in chat memory

Spring AI 2.0 and 1.1.6 removed DEFAULT_CONVERSATION_ID, so chat memory calls fail with conversationId cannot be null. Reproduced and fixed with per-user IDs.

Categories Spring AI Tags Chat Memory, ChatClient, conversationId cannot be null, DEFAULT_CONVERSATION_ID, MessageChatMemoryAdvisor, Ollama, Spring AI 2.0, Spring Boot 4 Leave a comment

Recent Posts

  • Testcontainers 2.0 NoSuchFieldError: fix old jackson-annotations
  • Liquibase Gradle plugin 3.x: NoClassDefFoundError liquibase/Scope fix
  • Spring AI 2.0 on Spring Boot 4.0: requireUpperBoundDeps error fix
  • Testcontainers on Docker 29: fix client version 1.32 is too old
  • bitnami/kafka manifest unknown: moving to apache/kafka KRaft

Recent Comments

No comments to show.
© 2026 ReproFix • Built with GeneratePress