mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
0e646625bf
Allow users to configure what percentage of older messages to compact, keeping the most recent portion intact. Default ratio is 80%, meaning the oldest 80% of uncompacted messages are summarized while the newest 20% remain as-is for full-fidelity context.
5 lines
145 B
SQL
5 lines
145 B
SQL
-- 0052_compaction_ratio (rollback)
|
|
-- Remove compaction_ratio column from bots table.
|
|
|
|
ALTER TABLE bots DROP COLUMN IF EXISTS compaction_ratio;
|