Files
Memoh/db/migrations/0051_drop_max_context_fields.up.sql
T
Acbox 0730ff2945 refactor: remove max_context_load_time and max_context_tokens from bot settings
These two fields controlled history context window (time-based) and token-based
trimming. They are no longer needed — the resolver now always uses the hardcoded
24-hour default and skips token-based history trimming.
2026-03-29 00:00:10 +08:00

6 lines
233 B
SQL

-- 0051_drop_max_context_fields
-- Remove max_context_load_time and max_context_tokens columns from bots table
ALTER TABLE bots DROP COLUMN IF EXISTS max_context_load_time;
ALTER TABLE bots DROP COLUMN IF EXISTS max_context_tokens;