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

This commit is contained in:
Chipmunk
2026-07-16 15:26:44 +03:00
committed by GitHub
parent a55a8c5266
commit a8dc0e3269
3 changed files with 145 additions and 14 deletions
+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();