server : allow text-only slot save/restore with mtmd (#25076)

This commit is contained in:
Chipmunk authored and GitHub committed 2026-07-16 15:26:44 +03:00
1 parent a55a8c5266
commit a8dc0e3269
3 files changed
+145 -14

No files matched your search

+3
View File
@@ -207,6 +207,9 @@ public:
bool empty() const { return tokens.empty(); }
// true if the sequence actually contains image/audio chunks.
bool has_media() const { return !map_idx_to_media.empty(); }
void clear() {
map_idx_to_media.clear();
tokens.clear();