Bug Fix
- fix: Add missing
content_hashin_prompt_learning_session— resolvesTypeError: Memory.__init__() missing 1 required positional argument: 'content_hash'when using the learning session prompt (PR #521 by @mapix-etnc)
Details
_prompt_learning_session in server_impl.py constructed a Memory object without providing the required content_hash field. The fix imports generate_content_hash and generates the hash from the learning note content before passing it to the constructor, following the established pattern used at 12+ other call sites.
Related
- PR #521 — original bugfix
- Issue #522 — follow-up enhancement: consistent metadata inclusion in
content_hashgeneration
Full Changelog: v10.20.1...v10.20.2