mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-21 22:54:00 +08:00
When include_metadata=True, the metadata dict was added directly to the original history entry objects (shallow copy of list, same dict refs). Now creates per-entry dict copies before enriching with metadata.