mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 12:40:03 +08:00
Follow-up to #631/#628: wecom's _chat_frames now uses the same
LRU-bounded OrderedDict idiom as the dedup cache (cap 1000) so
long-running bots can't grow it unboundedly, frame-body extraction is
deduped into one helper, and the dead _loop attribute is gone.
_absolutize_img_paths now skips non-string entries and refuses to
anchor traversal paths ('..' components) with a warning, so a crafted
content_list cannot point the vision stage outside the cache dir.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>